Several MM selftests report failures when the test environment lacks an underlying prerequisite, such as fallocate() support, MADV_REMOVE, local page-cache semantics, or swap.
This series converts those unsupported cases to SKIP while preserving failures for unexpected errors. It also allows migration tests to retry transient move_pages() failures. Tested on an arm64 Ampere system using an NFS root filesystem. The MM selftest run completed with no failures or errors anymore. Also verified on x86_64 to make sure they don't cause any unexpected errors. Muhammad Usama Anjum (5): selftests/mm: skip COW tmpfile cases when fallocate() is unsupported selftests/mm: skip guard hole-punch test if MADV_REMOVE is unsupported selftests/mm: skip khugepaged swap tests without swap selftests/mm: skip page-cache hwpoison tests on NFS selftests/mm: retry migration failures for the full runtime tools/testing/selftests/mm/cow.c | 9 ++++-- tools/testing/selftests/mm/guard-regions.c | 10 ++++-- tools/testing/selftests/mm/khugepaged.c | 34 +++++++++++++++++++++ tools/testing/selftests/mm/memory-failure.c | 13 ++++++-- tools/testing/selftests/mm/migration.c | 34 +++++++++++++-------- 5 files changed, 81 insertions(+), 19 deletions(-) -- 2.47.3

