Re: [PATCH v2 04/20] fork: provide a function for copying init_mm

From: Nadav Amit
Date: Tue Feb 05 2019 - 04:03:53 EST


> On Feb 5, 2019, at 12:53 AM, Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> On Mon, Jan 28, 2019 at 04:34:06PM -0800, Rick Edgecombe wrote:
>> From: Nadav Amit <namit@xxxxxxxxxx>
>>
>> - * 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).