selftests/vm: Add protection_keys tests to run_vmtests
Subsystems (2)
PATCH 1/1 selftests/vm: Add protection_keys tests to run_vmtests
--- tools/testing/selftests/vm/run_vmtests.sh | 7 +++++++ 1 file changed, 7 insertions(+)
tools/testing/selftests/vm/run_vmtests.sh +7 -0
@@ -179,4 +179,11 @@ run_test ./ksm_tests -N -m 1 # KSM test with 2 NUMA nodes and merge_across_nodes = 0 run_test ./ksm_tests -N -m 0 +# protection_keys tests +if [ $VADDR64 -eq 0 ]; then + run_test ./protection_keys_32 +else + run_test ./protection_keys_64 +fi + exit $exitcode
Signature · 1 line
2.25.1
Andrew Morton
maintainerQuoted 4 lines · On Tue, 31 May 2022 15:55:56 +0530 Kalpana Shetty <[email protected]>…
tools/testing/selftests/vm/run_vmtests.sh +0
-0@@ -179,4 +179,11 @@ run_test ./ksm_tests -N -m 1 # KSM test with 2 NUMA nodes and merge_across_nodes = 0
tools/testing/selftests/vm/run_vmtests.sh run_test ./ksm_tests -N -m 1 · line 189
Quoted 10 lines
tools/testing/selftests/vm/run_vmtests.sh +7
-0run_test ./ksm_tests -N -m 0 +# protection_keys tests +if [ $VADDR64 -eq 0 ]; then + run_test ./protection_keys_32 +else + run_test ./protection_keys_64 +fi + exit $exitcode
So we're presently not running this test at all, unless invoked by hand?
I'm thinking we should backport this fix - have you any idea when we broke it?
Quoted 8 lines · Andrew Morton
Quoted 6 lines · On Tue, 31 May 2022 15:55:56 +0530 Kalpana Shetty <[email protected]>…
tools/testing/selftests/vm/run_vmtests.sh +0
-0@@ -179,4 +179,11 @@ run_test ./ksm_tests -N -m 1 # KSM test with 2 NUMA nodes and merge_across_nodes = 0 run_test ./ksm_tests -N -m 0
Quoted 10 lines
tools/testing/selftests/vm/run_vmtests.sh run_test ./ksm_tests -N -m 1 · line 189
Quoted 8 lines
tools/testing/selftests/vm/run_vmtests.sh +7
-0+# protection_keys tests +if [ $VADDR64 -eq 0 ]; then + run_test ./protection_keys_32 +else + run_test ./protection_keys_64 +fi + exit $exitcodeSo we're presently not running this test at all, unless invoked by hand?
Yes.
Quoted 3 lines
I'm thinking we should backport this fix - have you any idea when we broke it?
We didn't break it, just adding "protection_keys" test as part of run_vmtests.sh
Thanks,
Kalpana
Shuah Khan
maintainerQuoted 1 line · Kalpana Shetty
Signed-off-by Kalpana Shetty <[email protected]>
Missing commit log - please add a detailed commit log explaining why this change is necessary.
Quoted 11 lines
--- tools/testing/selftests/vm/run_vmtests.sh | 7 +++++++ 1 file changed, 7 insertions(+)tools/testing/selftests/vm/run_vmtests.sh +0
-0@@ -179,4 +179,11 @@ run_test ./ksm_tests -N -m 1 # KSM test with 2 NUMA nodes and merge_across_nodes = 0
tools/testing/selftests/vm/run_vmtests.sh run_test ./ksm_tests -N -m 1 · line 189
Quoted 10 lines
tools/testing/selftests/vm/run_vmtests.sh +7
-0run_test ./ksm_tests -N -m 0 +# protection_keys tests +if [ $VADDR64 -eq 0 ]; then + run_test ./protection_keys_32 +else + run_test ./protection_keys_64 +fi + exit $exitcode
thanks,
-- Shuah
Quoted 5 lines · Shuah Khan
Quoted 1 line · Kalpana Shetty
Signed-off-by Kalpana Shetty <[email protected]>Missing commit log - please add a detailed commit log explaining why this change is necessary.
Sent V2 patch with patch description.
Thanks,
Kalpana
Quoted 24 lines
Quoted 19 lines
---
tools/testing/selftests/vm/run_vmtests.sh| 7 +++++++1 file changed, 7 insertions(+)tools/testing/selftests/vm/run_vmtests.sh +0
-0@@ -179,4 +179,11 @@ run_test ./ksm_tests -N -m 1 # KSM test with 2 NUMA nodes and merge_across_nodes = 0
run_test./ksm_tests -N -m 0
+#protection_keysteststools/testing/selftests/vm/run_vmtests.sh +6
-0+if [ $VADDR64 -eq 0 ]; then + run_test ./protection_keys_32 +else + run_test ./protection_keys_64 +fi +Quoted 2 lines
exit $exitcode
thanks,
-- Shuah