| Date | Mon, 11 Apr 2022 18:15:23 +0200 | Subject | Re: [PATCH v3 02/16] mm/hugetlb: take src_mm->write_protect_seq in copy_hugetlb_page_range() | From | Vlastimil Babka <> |
| |
On 3/29/22 18:04, David Hildenbrand wrote: > Let's do it just like copy_page_range(), taking the seqlock and making > sure the mmap_lock is held in write mode. > > This allows for add a VM_BUG_ON to page_needs_cow_for_dma() and > properly synchronizes cocnurrent fork() with GUP-fast of hugetlb pages,
concurrent
> which will be relevant for further changes. > > Signed-off-by: David Hildenbrand <david@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
|