Re: [PATCH v3 0/9] userfaultfd: assorted fixes (part 1)

From: Andrew Morton

Date: Tue Nov 24 2026 - 17:27:15 EST


On Tue, 24 Nov 2026 14:37:11 -0500 Tal Zussman <tz2294@xxxxxxxxxxxx> wrote:

>
>
> On 11/18/26 4:41 AM, David Hildenbrand (Arm) wrote:
> ...
> >
> > So, I would be picking up ...
> >
> >> Tal Zussman (9):
> >> userfaultfd: use anonymous memory for UFFDIO_ZEROPAGE on private file mappings
> >> userfaultfd: refuse UFFDIO_MOVE into a non-present huge destination PMD
> >> fs/proc/task_mmu: downgrade writable migration entries in PAGEMAP_SCAN write-protect
> >> mm/migrate: warn on a writable migration entry with the uffd bit set
> >
> > This

1

> >> fs/proc/task_mmu: write-protect device-private THPs in PAGEMAP_SCAN
> >> mm/huge_memory: build the moved huge zero PMD from the destination VMA
> >
> > This

2

> >> mm/mremap: resolve uffd state when the context is dropped, not during the move
> >> mm/migrate_device: do not migrate a uffd-protected zero page
> >
> > This

3

> >> mm/userfaultfd: check the hugetlb alignment of every VMA in the pre-scan
> >
> >
> > After waiting a bit longer for more review. Andrew can take the rest.
> >
> >
>
> @Andrew, could you pick up the rest of these (everything but 4 and 8)?

9-3 != 9-2

np, I grabbed 1,2,3,5,6,7,9 (whatever isn't in other-peoples-trees) and
massaged the cover letter a bit.