diff options
author | Muhammad Usama Anjum <usama.anjum@collabora.com> | 2024-01-25 20:46:07 +0500 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-22 15:38:55 -0800 |
commit | c23ea61726d57d11d5c16a0b7943da85b7bd9f3f (patch) | |
tree | 0e6f6c99b4a0810a107f51abdf6c56636de000c6 /lib/dynamic_debug.c | |
parent | 7d695b1c3695b4d0417674f15e2ccde12a272e16 (diff) | |
download | linux-c23ea61726d57d11d5c16a0b7943da85b7bd9f3f.tar.gz linux-c23ea61726d57d11d5c16a0b7943da85b7bd9f3f.tar.bz2 linux-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/20240125154608.720072-5-usama.anjum@collabora.com
Fixes: 5f23f6d082a9 ("x86/pkeys: Add self-tests")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions