Re: [PATCH v3 0/4] mm/userfaultfd: modulize memory types

From: Peter Xu

Date: Tue Sep 30 2025 - 16:45:16 EST


On Tue, Sep 30, 2025 at 03:49:34PM -0400, Liam R. Howlett wrote:
> * Peter Xu <peterx@xxxxxxxxxx> [250926 17:17]:
> > [based on latest akpm/mm-new of Sep 26th, commit e612c80ae0aeb]
> >
> > v3 changelog:
> > - Fixed checkpatch issues on spaces or typedef
> > - Dropped uffd_copy() API
> > - Refined commit messages here and there to reflect the removal of uffd_copy()
> >
> > v1: https://lore.kernel.org/r/20250620190342.1780170-1-peterx@xxxxxxxxxx
> > v2: https://lore.kernel.org/r/20250627154655.2085903-1-peterx@xxxxxxxxxx
> >
> > This series is an alternative proposal of what Nikita proposed here on the
> > initial three patches:
> >
> > https://lore.kernel.org/r/20250404154352.23078-1-kalyazin@xxxxxxxxxx
> >
> > This is not yet relevant to any guest-memfd support, but paving way for it.
>
> It would be much easier to review this with the guest-memfd support in
> this patch set. Any chance of including the target user?

It should be something like what Nikita posted previously here against v1:

https://lore.kernel.org/all/114133f5-0282-463d-9d65-3143aa658806@xxxxxxxxxx/

I'll add the link into the cover letter when I repost. That formal patch
logically will need to be reviewed from KVM side after this patch lands.

Thanks,

--
Peter Xu