Re: [PATCH v3 1/2] mm/huge_memory: recheck a special PMD under the lock in copy_huge_pmd()
From: Konstantin Khorenko
Date: Wed Oct 21 2026 - 16:45:41 EST
On 10/21/26 10:37, David Hildenbrand (Arm) wrote:
<snip>> We should likely do exactly what we do in the PTE path: copy PMDs that reference
> file folios. See copy_present_ptes().
Done in v4: copy_huge_pmd() now decides under the PTL with
vm_normal_page_pmd() and copies file THPs like copy_present_ptes():
https://lore.kernel.org/all/20261021-b4-prep-vstor-149847-copy_huge_pmd-recheck-special-pmd-v4-0-66f00b7a564c@xxxxxxxxxxxxx/
Thank you for the review!
Best regards,
--
Konstantin Khorenko