Re: [PATCH v4 2/4] mm/shmem: Support vm_uffd_ops API

From: David Hildenbrand

Date: Mon Oct 20 2025 - 10:18:49 EST


On 15.10.25 01:14, Peter Xu wrote:
Add support for the new vm_uffd_ops API for shmem. Note that this only
introduces the support, the API is not yet used by core mm.

It only needs a separate minor_get_folio() definition but that's oneliner.

Due to the limitation of the current vm_uffd_ops on MISSING mode support,
the shmem UFFDIO_COPY/ZEROPAGE process are still hard-coded in mm/.

Cc: Hugh Dickins <hughd@xxxxxxxxxx>
Acked-by: Mike Rapoport <rppt@xxxxxxxxxx>
Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
---

Acked-by: David Hildenbrand <david@xxxxxxxxxx>

--
Cheers

David / dhildenb