lkml.org 
[lkml]   [2020]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/4] mm/fork: Pass new vma pointer into copy_page_range()
On Wed, Sep 30, 2020 at 04:30:55PM +0300, Kirill A. Shutemov wrote:
> > int copy_page_range(struct mm_struct *dst, struct mm_struct *src,
> > - struct vm_area_struct *vma);
> > + struct vm_area_struct *vma, struct vm_area_struct *new);
>
> It makes dst/src mm_struct arguments redundant. There's always vma->vm_mm.

Indeed. I'll post a patch later for it. Thanks.

--
Peter Xu

\
 
 \ /
  Last update: 2020-09-30 19:06    [W:0.043 / U:1.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site