aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <[email protected]>2024-01-25 15:46:07 +0000
committerAndrew Morton <[email protected]>2024-02-22 23:38:55 +0000
commitc23ea61726d57d11d5c16a0b7943da85b7bd9f3f (patch)
tree0e6f6c99b4a0810a107f51abdf6c56636de000c6 /lib/dynamic_debug.c
parentselftests/mm: save and restore nr_hugepages value (diff)
downloadkernel-c23ea61726d57d11d5c16a0b7943da85b7bd9f3f.tar.gz
kernel-c23ea61726d57d11d5c16a0b7943da85b7bd9f3f.zip
selftests/mm: protection_keys: save/restore nr_hugepages settings
Save and restore nr_hugepages before changing it during the test. A test should not change system wide settings. Link: https://lkml.kernel.org/r/[email protected] Fixes: 5f23f6d082a9 ("x86/pkeys: Add self-tests") Signed-off-by: Muhammad Usama Anjum <[email protected]> Cc: Ryan Roberts <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions