From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: [PATCH v2 04/20] fork: provide a function for copying init_mm From: Nadav Amit In-Reply-To: <20190205085311.GH21801@zn.tnic> Date: Tue, 5 Feb 2019 01:03:45 -0800 Content-Transfer-Encoding: 7bit Message-Id: References: <20190129003422.9328-1-rick.p.edgecombe@intel.com> <20190129003422.9328-5-rick.p.edgecombe@intel.com> <20190205085311.GH21801@zn.tnic> To: Borislav Petkov Cc: Rick Edgecombe , Andy Lutomirski , Ingo Molnar , LKML , X86 ML , "H. Peter Anvin" , Thomas Gleixner , Dave Hansen , Peter Zijlstra , Damian Tometzki , linux-integrity , LSM List , Andrew Morton , Kernel Hardening , Linux-MM , Will Deacon , Ard Biesheuvel , Kristen Carlson Accardi , "Dock, Deneen T" , Kees Cook , Dave Hansen List-ID: > On Feb 5, 2019, at 12:53 AM, Borislav Petkov wrote: > > On Mon, Jan 28, 2019 at 04:34:06PM -0800, Rick Edgecombe wrote: >> From: Nadav Amit >> >> - * Allocate a new mm structure and copy contents from the >> - * mm structure of the passed in task structure. >> +/** >> + * dup_mm() - duplicates an existing mm structure >> + * @tsk: the task_struct with which the new mm will be associated. >> + * @oldmm: the mm to duplicate. >> + * >> + * Allocates a new mm structure and copy contents from the provided > > s/copy/copies/ Thanks, applied (I revised this sentence a bit).