[PATCH 0/3] userfaultfd: selftest: add event tests

From: Mike Rapoport
Date: Sun Aug 28 2016 - 10:38:01 EST


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