diff options
author | Muhammad Usama Anjum <[email protected]> | 2024-01-25 20:46:07 +0500 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-02-22 15:38:55 -0800 |
commit | c23ea61726d57d11d5c16a0b7943da85b7bd9f3f (patch) | |
tree | 0e6f6c99b4a0810a107f51abdf6c56636de000c6 /kernel/bpf/arraymap.c | |
parent | 7d695b1c3695b4d0417674f15e2ccde12a272e16 (diff) |
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 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions