summaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorChunyu Hu <chuhu@redhat.com>2025-09-12 09:37:10 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-09-21 14:22:28 -0700
commitd9d957bd7b61175db0723b6238d8f5a9740868a4 (patch)
tree3b91acdf75ac507b02d95106aa69d322cd55adf6 /scripts/bpf_doc.py
parent6e296bcf294ee9e8e024158ed1d279cf823eae63 (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/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions