Messages in this thread |  | | Date | Wed, 30 Sep 2020 13:05:11 -0400 | From | Peter Xu <> | Subject | Re: [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
|  |