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 majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>