+ selftests-vm-add-protection_keys-tests-to-run_vmtests-v4.patch added to mm-unstable branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: selftests-vm-add-protection_keys-tests-to-run_vmtests-v4
has been added to the -mm mm-unstable branch.  Its filename is
     selftests-vm-add-protection_keys-tests-to-run_vmtests-v4.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/selftests-vm-add-protection_keys-tests-to-run_vmtests-v4.patch

This patch will later appear in the mm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Kalpana Shetty <kalpana.shetty@xxxxxxx>
Subject: selftests-vm-add-protection_keys-tests-to-run_vmtests-v4
Date: Sat, 18 Jun 2022 01:59:31 +0530

Shuah Khan's review comments incorporated, added -x executable check

Link: https://lkml.kernel.org/r/20220617202931.357-1-kalpana.shetty@xxxxxxx
Signed-off-by: Kalpana Shetty <kalpana.shetty@xxxxxxx>
Cc: Shuah Khan <shuah@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 tools/testing/selftests/vm/run_vmtests.sh |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

--- a/tools/testing/selftests/vm/run_vmtests.sh~selftests-vm-add-protection_keys-tests-to-run_vmtests-v4
+++ a/tools/testing/selftests/vm/run_vmtests.sh
@@ -180,9 +180,13 @@ run_test ./ksm_tests -N -m 1
 run_test ./ksm_tests -N -m 0
 
 # protection_keys tests
-if [ $VADDR64 -eq 0 ]; then
+if [ -x ./protection_keys_32 ]
+then
 	run_test ./protection_keys_32
-else
+fi
+
+if [ -x ./protection_keys_64 ]
+then
 	run_test ./protection_keys_64
 fi
 
_

Patches currently in -mm which might be from kalpana.shetty@xxxxxxx are

selftests-vm-add-protection_keys-tests-to-run_vmtests.patch
selftests-vm-add-protection_keys-tests-to-run_vmtests-v4.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux