hugetlb_madv_vs_map selftest was not part of the mm test-suite since we didn't have a fix for the problem it found.
Now that the problem is already fixed (see previous commit), let's enable this selftest in the default test-suite.
Signed-off-by: Breno Leitao leitao@debian.org --- tools/testing/selftests/mm/run_vmtests.sh | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/mm/run_vmtests.sh b/tools/testing/selftests/mm/run_vmtests.sh index a5e6ba8d3579..f41e1978e4d4 100755 --- a/tools/testing/selftests/mm/run_vmtests.sh +++ b/tools/testing/selftests/mm/run_vmtests.sh @@ -256,6 +256,7 @@ nr_hugepages_tmp=$(cat /proc/sys/vm/nr_hugepages) # For this test, we need one and just one huge page echo 1 > /proc/sys/vm/nr_hugepages CATEGORY="hugetlb" run_test ./hugetlb_fault_after_madv +CATEGORY="hugetlb" run_test ./hugetlb_madv_vs_map # Restore the previous number of huge pages, since further tests rely on it echo "$nr_hugepages_tmp" > /proc/sys/vm/nr_hugepages
linux-kselftest-mirror@lists.linaro.org