Re: [PATCH 00/23] userfaultfd-wp: Support shmem and hugetlbfs

From: Peter Xu
Date: Mon Mar 22 2021 - 20:56:23 EST


On Mon, Mar 22, 2021 at 08:48:49PM -0400, Peter Xu wrote:
> This patchset is based on tag v5.12-rc3-mmots-2021-03-17-22-26. To run the
> selftest, need to apply the two patches to fix minor mode page leak:
>
> https://lore.kernel.org/lkml/20210322175132.36659-1-peterx@xxxxxxxxxx/
> https://lore.kernel.org/lkml/20210322204836.1650221-1-axelrasmussen@xxxxxxxxxx/
>
> Since I didn't get any NACK in the previous RFC series for months, I decided to
> remove the RFC tag starting from this version, so this is v1 of uffd-wp support
> on shmem & hugetlb.

Attaching changelog, rfc->v1:
- fix up syzbot reported issue
- add a new feature bit UFFD_FEATURE_WP_SHMEM_HUGETLBFS exported in uapi, so
that apps can detect the new kernel capability.
- check for all pte_to_swp_entry callers too (hmm, etc.) [JasonG]
- dropped the first few patches that are not directly related to this series; I
will post them separately as standalone series

Add Cc too (I'll remember to send the series with full cc list next time..).

Thanks,

--
Peter Xu