Hi, These patches add tests for userfaultfd events used in non-cooperative scenario. The tests verify that fork(), mremap() and madvise(MADV_DONTNEED) can be properly handled when the process that monitors userfaultfd is not the process that causes the pagefaults. Mike Rapoport (3): userfaultfd: selftest: introduce userfaultfd_open userfaultfd: selftest: add ufd parameter to copy_page userfaultfd: selftest: add test for FORK, MADVDONTNEED and REMAP events tools/testing/selftests/vm/userfaultfd.c | 219 ++++++++++++++++++++++++++----- 1 file changed, 189 insertions(+), 30 deletions(-) -- 1.9.1 -- 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>