Skip to contentSkip to conversation

selftests-vm-add-a-test-for-virtual-address-range-mapping.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 9, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: selftests/vm: add a test for virtual address range mapping
has been removed from the -mm tree. Its filename was
selftests-vm-add-a-test-for-virtual-address-range-mapping.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Anshuman Khandual <[email protected]>
Subject: selftests/vm: add a test for virtual address range mapping

This verifies virtual address mapping below and above the 128TB range and makes sure that address returned are within the expected range depending upon the hint passed from the user space.

---

 tools/testing/selftests/vm/Makefile                |    1 
 tools/testing/selftests/vm/run_vmtests             |   11 
 tools/testing/selftests/vm/virtual_address_range.c |  122 +++++++++++
 3 files changed, 134 insertions(+)
tools/testing/selftests/vm/Makefile renamed from tools/testing/selftests/vm/Makefile~selftests-vm-add-a-test-for-virtual-address-range-mapping +1 -0
diff -puN tools/testing/selftests/vm/Makefile~selftests-vm-add-a-test-for-virtual-address-range-mapping tools/testing/selftests/vm/Makefile
@@ -16,6 +16,7 @@ TEST_GEN_FILES += thuge-gen
 TEST_GEN_FILES += transhuge-stress
 TEST_GEN_FILES += userfaultfd
 TEST_GEN_FILES += mlock-random-test
+TEST_GEN_FILES += virtual_address_range
 
 TEST_PROGS := run_vmtests
 
tools/testing/selftests/vm/run_vmtests renamed from tools/testing/selftests/vm/run_vmtests~selftests-vm-add-a-test-for-virtual-address-range-mapping +11 -0
diff -puN tools/testing/selftests/vm/run_vmtests~selftests-vm-add-a-test-for-virtual-address-range-mapping tools/testing/selftests/vm/run_vmtests
@@ -165,4 +165,15 @@ else
 	echo "[PASS]"
 fi
 
+echo "-----------------------------"
+echo "running virtual_address_range"
+echo "-----------------------------"
+./virtual_address_range
+if [ $? -ne 0 ]; then
+	echo "[FAIL]"
+	exitcode=1
+else
+	echo "[PASS]"
+fi
+
 exit $exitcode
tools/testing/selftests/vm/virtual_address_range.c new file +122 -0

122 lines not on this page · raw message

_

Patches currently in -mm which might be from [email protected] are