diff options
author | Muhammad Usama Anjum <usama.anjum@collabora.com> | 2024-01-25 20:46:06 +0500 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-22 15:38:55 -0800 |
commit | 7d695b1c3695b4d0417674f15e2ccde12a272e16 (patch) | |
tree | b65bbad9820c4dc3d53031697e8dfe015579c95e /lib/dynamic_debug.c | |
parent | 20a2191c2ef35d58aebed704ecf8f31ff959b412 (diff) | |
download | linux-7d695b1c3695b4d0417674f15e2ccde12a272e16.tar.gz linux-7d695b1c3695b4d0417674f15e2ccde12a272e16.tar.bz2 linux-7d695b1c3695b4d0417674f15e2ccde12a272e16.zip |
selftests/mm: save and restore nr_hugepages value
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-4-usama.anjum@collabora.com
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