summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-02-12 17:44:26 +0000
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:06:14 -0700
commit85968b6a2042cd19c6afd1fb49b64bd32f3a4d07 (patch)
tree56db5907204e7fd8759bc5a35cdf23176764a632 /tools/perf/scripts/python
parent7bd1fa0d5624e78628ad7ce70d7e69082c34c634 (diff)
downloadlinux-85968b6a2042cd19c6afd1fb49b64bd32f3a4d07.tar.gz
linux-85968b6a2042cd19c6afd1fb49b64bd32f3a4d07.zip
selftests/mm: allow tests to run with no huge pages support
Currently the mm selftests refuse to run if huge pages are not available in the current system but this is an optional feature and not all the tests actually require them. Change the test during startup to be non-fatal and skip or omit tests which actually rely on having huge pages, allowing the other tests to be run. The gup_test does support using madvise() to configure huge pages but it ignores the error code so we just let it run. Link: https://lkml.kernel.org/r/20250212-kselftest-mm-no-hugepages-v1-2-44702f538522@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Nico Pache <npache@redhat.com> Cc: Mariano Pache <npache@redhat.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions