[PATCH 0/3] selftests/mm: TAP output and global-state fixes
From: Song Hu
Date: Wed Aug 12 2026 - 08:10:06 EST
uffd-wp-mremap and mremap_test never print the TAP header (and mremap_test
skips with a bare exit(KSFT_SKIP) rather than a KTAP skip), so their output
is not valid KTAP; hugetlb-soft-offline toggles enable_soft_offline during
the run and leaves it disabled afterwards.
Tested on x86_64.
Song Hu (3):
selftests/mm: emit TAP header in uffd-wp-mremap
selftests/mm: emit TAP header and use TAP skip in mremap_test
selftests/mm: restore enable_soft_offline in hugetlb-soft-offline
.../selftests/mm/hugetlb-soft-offline.c | 24 +++++++++++++++++++
tools/testing/selftests/mm/mremap_test.c | 15 ++++++------
tools/testing/selftests/mm/uffd-wp-mremap.c | 2 ++
3 files changed, 33 insertions(+), 8 deletions(-)
--
2.43.0