diff options
| author | 2025-09-12 09:37:10 +0800 | |
|---|---|---|
| committer | 2025-09-21 14:22:28 -0700 | |
| commit | d9d957bd7b61175db0723b6238d8f5a9740868a4 (patch) | |
| tree | 3b91acdf75ac507b02d95106aa69d322cd55adf6 /scripts/Makefile.thinlto | |
| parent | selftests/mm: fix hugepages cleanup too early (diff) | |
selftests/mm: alloc hugepages in va_high_addr_switch test
Alloc hugepages in the test internally, so we don't fully rely on the
run_vmtests.sh. If run_vmtests.sh does that great, free hugepages is
enough for being used to run the test, leave it as it is, otherwise setup
the hugepages in the test.
Save the original nr_hugepages value and restore it after test finish, so
leave a stable test envronment.
Link: https://lkml.kernel.org/r/20250912013711.3002969-3-chuhu@redhat.com
Signed-off-by: Chunyu Hu <chuhu@redhat.com>
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
