Skip to content

userfaultfd updates for v4.13-rc3

Andrea Arcangeli linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 4 repliesIn review 5 of 6 applied

Patches in v1 5 of 6 applied

#Subject and filesSizeRepliesApplied
1/6userfaultfd: hugetlbfs: remove superfluous page unlock in VM_SHARED casemm/hugetlb.c+1 -11 reply
2/6userfaultfd: selftest: exercise UFFDIO_COPY/ZEROPAGE -EEXISTtools/testing/selftests/vm/userfaultfd.c+138 -71 replyApplied
3/6userfaultfd: selftest: explicit failure if the SIGBUS test failedtools/testing/selftests/vm/userfaultfd.c+3 -10 repliesApplied
4/6userfaultfd: call userfaultfd_unmap_prep only if __split_vma succeedsmm/mmap.c+15 -70 repliesApplied
5/6userfaultfd: provide pid in userfault msgfs/userfaultfd.c include/uapi/linux/userfaultfd.h+13 -50 repliesApplied
6/6userfaultfd: provide pid in userfault msg - add feat unionfs/userfaultfd.c include/uapi/linux/userfaultfd.h+4 -20 repliesApplied

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchMaxime CoquelinMike Kravetz
1/6T-b R-b
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] userfaultfd updates for v4.13-rc3

Hello,

these are some uffd updates I have pending that looks ready for merging. vhost-user KVM developement run into a crash so patch 1/6 is urgent (and simple), the rest is not urgent.

The testcase has been updated to exercise it.

This should apply clean to -mm, and I reviewed in detail all other userfaultfd patches that are in -mm and they're all great, including the shmem zeropage addition.

Alexey Perevalov (1):
userfaultfd: provide pid in userfault msg

Andrea Arcangeli (5):
userfaultfd: hugetlbfs: remove superfluous page unlock in VM_SHARED
case
userfaultfd: selftest: exercise UFFDIO_COPY/ZEROPAGE -EEXIST
userfaultfd: selftest: explicit failure if the SIGBUS test failed
userfaultfd: call userfaultfd_unmap_prep only if __split_vma succeeds
userfaultfd: provide pid in userfault msg - add feat union

 fs/userfaultfd.c                         |   8 +-
 include/uapi/linux/userfaultfd.h         |  12 ++-
 mm/hugetlb.c                             |   2 +-
 mm/mmap.c                                |  22 +++--
 tools/testing/selftests/vm/userfaultfd.c | 149 +++++++++++++++++++++++++++++--
 5 files changed, 172 insertions(+), 21 deletions(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>