userfaultfd: selftest
This test allocates two virtual areas and bounces the physical memory across the two virtual areas using only userfaultfd. Signed-off-by:Andrea Arcangeli <aarcange@redhat.com> Cc: Pavel Emelyanov <xemul@parallels.com> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Shuah Khan <shuah.kh@samsung.com> Cc: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- tools/testing/selftests/vm/Makefile 3 additions, 0 deletionstools/testing/selftests/vm/Makefile
- tools/testing/selftests/vm/run_vmtests 11 additions, 0 deletionstools/testing/selftests/vm/run_vmtests
- tools/testing/selftests/vm/userfaultfd.c 636 additions, 0 deletionstools/testing/selftests/vm/userfaultfd.c
Please register or sign in to comment