Re: [PATCH v4 5/5] hugetlb: Do early cow when page pinned on src mm

2021-02-09 Thread Jason Gunthorpe
On Mon, Feb 08, 2021 at 10:02:29PM -0500, Peter Xu wrote: > This is the last missing piece of the COW-during-fork effort when there're > pinned pages found. One can reference 70e806e4e645 ("mm: Do early cow for > pinned pages during fork() for ptes", 2020-09-27) for more information, since > we do

[PATCH v4 5/5] hugetlb: Do early cow when page pinned on src mm

2021-02-08 Thread Peter Xu
This is the last missing piece of the COW-during-fork effort when there're pinned pages found. One can reference 70e806e4e645 ("mm: Do early cow for pinned pages during fork() for ptes", 2020-09-27) for more information, since we do similar things here rather than pte this time, but just for huget