Skip to content

userfaultfd21 updates v2

Andrea Arcangeli linux-mm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5userfaultfd: require UFFDIO_API before other ioctlsfs/userfaultfd.c+3 -10 replies
2/5userfaultfd: allow signals to interrupt a userfaultfs/userfaultfd.c+32 -30 replies
3/5userfaultfd: propagate the full address in THP faultsmm/huge_memory.c+6 -40 replies
4/5userfaultfd: avoid missing wakeups during refile in userfaultfd_readfs/userfaultfd.c+24 -20 replies
5/5userfaultfd: selftesttools/testing/selftests/vm/Makefile tools/testing/selftests/vm/run_vmtests tools/testing/selftests/vm/userfaultfd.c+650 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] userfaultfd21 updates v2

Hello everyone,

This is an update for userfaultfd to synchronize -mm with the code in the userfaultfd21 git branch.

It includes: two fixes for some minor problem found with the selftest (qemu wouldn't trigger those), one debuggability improvement for gdb, the selftest itself and it adds one check to verify the API was followed in some case.

The wakeone patch is present in the userfault21 branch but it's deferred because it's just a minor optimization and the "require UFFDIO_API before other ioctls" patch has been updated according to upstream review of the previous submit of this update.

Andrea Arcangeli (5):
userfaultfd: require UFFDIO_API before other ioctls
userfaultfd: allow signals to interrupt a userfault
userfaultfd: propagate the full address in THP faults
userfaultfd: avoid missing wakeups during refile in userfaultfd_read
userfaultfd: selftest

 fs/userfaultfd.c                         |  65 +++-
 mm/huge_memory.c                         |  10 +-
 tools/testing/selftests/vm/Makefile      |   3 +
 tools/testing/selftests/vm/run_vmtests   |  11 +
 tools/testing/selftests/vm/userfaultfd.c | 636 +++++++++++++++++++++++++++++++
 5 files changed, 715 insertions(+), 10 deletions(-)
 create mode 100644 tools/testing/selftests/vm/userfaultfd.c

--
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>