diff options
| author | Mark Brown <[email protected]> | 2025-02-12 17:44:26 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-03-17 05:06:14 +0000 |
| commit | 85968b6a2042cd19c6afd1fb49b64bd32f3a4d07 (patch) | |
| tree | 56db5907204e7fd8759bc5a35cdf23176764a632 /mm/mm_init.c | |
| parent | mm/mmu_gather: clean up the stale code comment (diff) | |
| download | kernel-85968b6a2042cd19c6afd1fb49b64bd32f3a4d07.tar.gz kernel-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/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Reviewed-by: Nico Pache <[email protected]>
Cc: Mariano Pache <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions
