selftest/mm: Add test for checking mmap across 128TB boundary
PATCH 1/1 selftest/mm: Add test for checking mmap across 128TB boundary
Signed-off-by Aneesh Kumar K.V <[email protected]>
--- tools/testing/selftests/vm/Makefile | 1 + tools/testing/selftests/vm/run_vmtests | 11 ++ tools/testing/selftests/vm/va_128TBswitch.c | 152 ++++++++++++++++++++++++++++ 3 files changed, 164 insertions(+) create mode 100644 tools/testing/selftests/vm/va_128TBswitch.c
tools/testing/selftests/vm/Makefile +1 -0
@@ -17,6 +17,7 @@ TEST_GEN_FILES += transhuge-stress TEST_GEN_FILES += userfaultfd TEST_GEN_FILES += mlock-random-test TEST_GEN_FILES += virtual_address_range +TEST_GEN_FILES += va_128TBswitch TEST_PROGS := run_vmtests
tools/testing/selftests/vm/run_vmtests +11 -0
@@ -176,4 +176,15 @@ else echo "[PASS]" fi +echo "-----------------------------" +echo "running virtual address 128TB switch test" +echo "-----------------------------" +./va_128TBswitch +if [ $? -ne 0 ]; then + echo "[FAIL]" + exitcode=1 +else + echo "[PASS]" +fi + exit $exitcode
tools/testing/selftests/vm/va_128TBswitch.c new file +152 -0
152 lines not on this page · raw message
Signature · 1 line
2.13.6