diff options
author | Nico Pache <[email protected]> | 2024-03-06 15:37:12 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-03-12 13:07:18 -0700 |
commit | 2fd570c1d802e7d1b7df2fbc3784875686427f78 (patch) | |
tree | 8f8eea6d33c93ded53514c9b16b54acc743de327 /tools/perf/util/trace-event-scripting.c | |
parent | 2394aef616cf38fbf2e797c6845ccd35d76ce256 (diff) |
selftests/mm: dont fail testsuite due to a lack of hugepages
Patch series "selftests/mm: Improve Hugepage Test Handling in MM
Selftests", v2.
This series addresses issues related to hugepage requirements in the MM
selftests, ensuring tests are skipped rather than failing when the
necessary hugepage count is not met.
This adjustment allows for a more graceful handling for systems with
insufficient hugepages, preventing unnecessary test failures and improving
the overall robustness of the test suite.
This patch (of 3):
On systems that have large core counts and large page sizes, but limited
memory, the userfaultfd test hugepage requirement is too large.
Exiting early due to missing one test's requirements is a rather
aggressive strategy, and prevents a lot of other tests from running.
Remove the early exit to prevent this.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Fixes: ee00479d6702 ("selftests: vm: Try harder to allocate huge pages")
Signed-off-by: Nico Pache <[email protected]>
Cc: Ben Hutchings <[email protected]>
Cc: Muhammad Usama Anjum <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions