Re: [PATCH 07/12] mm/mremap: resolve uffd state when the context is dropped, not during the move
From: Tal Zussman
Date: Wed Nov 11 2026 - 17:47:29 EST
On 11/11/26 2:20 PM, Kiryl Shutsemau wrote:
> On Wed, Nov 11, 2026 at 12:55:15PM -0500, Tal Zussman wrote:
>> However, this adds spurious minor faults on shmem and hugetlb.
>
> "Minor faults" reads as UFFDIO_REGISTER_MODE_MINOR in a uffd changelog.
> Maybe "write faults"?
>
Yep, will change for v2. Thanks!
> The RWP side keeps its behaviour: vm_page_prot does not depend on RWP,
> so resolving with change_protection() gives the same PTEs as the
> per-entry code did.
>
> Reviewed-by: Kiryl Shutsemau (Meta) <kas@xxxxxxxxxx>
>
> --
> Kiryl Shutsemau / Kirill A. Shutemov
>