The patch titled Subject: fixup! mm: Teach core mm about pte markers has been added to the -mm tree. Its filename is mm-teach-core-mm-about-pte-markers-fix.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/mm-teach-core-mm-about-pte-markers-fix.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/mm-teach-core-mm-about-pte-markers-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Peter Xu <peterx@xxxxxxxxxx> Subject: fixup! mm: Teach core mm about pte markers userfaultfd.c needs swapops.h Link: https://lkml.kernel.org/r/YmRlVj3cdizYJsr0@xz-m1.local Signed-off-by: Peter Xu <peterx@xxxxxxxxxx> Reported-by: kernel test robot <lkp@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/userfaultfd.c | 1 + 1 file changed, 1 insertion(+) --- a/fs/userfaultfd.c~mm-teach-core-mm-about-pte-markers-fix +++ a/fs/userfaultfd.c @@ -29,6 +29,7 @@ #include <linux/ioctl.h> #include <linux/security.h> #include <linux/hugetlb.h> +#include <linux/swapops.h> int sysctl_unprivileged_userfaultfd __read_mostly; _ Patches currently in -mm which might be from peterx@xxxxxxxxxx are mm-remove-stub-for-non_swap_entry.patch mm-introduce-pte_marker-swap-entry.patch mm-introduce-pte_marker-swap-entry-fix.patch mm-teach-core-mm-about-pte-markers.patch mm-teach-core-mm-about-pte-markers-fix.patch mm-check-against-orig_pte-for-finish_fault.patch mm-check-against-orig_pte-for-finish_fault-fix.patch mm-uffd-pte_marker_uffd_wp.patch mm-uffd-pte_marker_uffd_wp-fix.patch mm-shmem-take-care-of-uffdio_copy_mode_wp.patch mm-shmem-handle-uffd-wp-special-pte-in-page-fault-handler.patch mm-shmem-persist-uffd-wp-bit-across-zapping-for-file-backed.patch mm-shmem-allow-uffd-wr-protect-none-pte-for-file-backed-mem.patch mm-shmem-allows-file-back-mem-to-be-uffd-wr-protected-on-thps.patch mm-shmem-handle-uffd-wp-during-fork.patch mm-hugetlb-introduce-huge-pte-version-of-uffd-wp-helpers.patch mm-hugetlb-hook-page-faults-for-uffd-write-protection.patch mm-hugetlb-take-care-of-uffdio_copy_mode_wp.patch mm-hugetlb-handle-uffdio_writeprotect.patch mm-hugetlb-handle-pte-markers-in-page-faults.patch mm-hugetlb-allow-uffd-wr-protect-none-ptes.patch mm-hugetlb-only-drop-uffd-wp-special-pte-if-required.patch mm-hugetlb-only-drop-uffd-wp-special-pte-if-required-fix.patch mm-hugetlb-handle-uffd-wp-during-fork.patch mm-khugepaged-dont-recycle-vma-pgtable-if-uffd-wp-registered.patch mm-pagemap-recognize-uffd-wp-bit-for-shmem-hugetlbfs.patch mm-uffd-enable-write-protection-for-shmem-hugetlbfs.patch mm-enable-pte-markers-by-default.patch mm-enable-pte-markers-by-default-fix.patch selftests-uffd-enable-uffd-wp-for-shmem-hugetlbfs.patch mm-uffd-move-userfaultfd-configs-into-mm.patch