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