[PATCH 0/3] selftests/mm: assorted fixes for hmm-tests

From: Aboorva Devarajan

Date: Mon May 04 2026 - 05:11:30 EST


Hi all,

This series fixes a few issues in hmm-tests that show up when
page-size and huge-page configuration differ from the hardcoded
assumptions the tests were written for (PMD/THP sizing, default
hugepage size, and related cases).

It also includes a minor fix to exclusive_cow: the test ignored the
return value of fork(), so both parent and child ran the same teardown
path.

Please let us know if you have any comments.

Thanks,
Aboorva

Aboorva Devarajan (1):
selftests/mm: fix exclusive_cow test fork() handling

Sayali Patil (2):
selftests/mm: allow PUD-level entries in compound testcase of hmm
tests
selftests/mm: remove hardcoded THP sizing assumptions in hmm tests

tools/testing/selftests/mm/hmm-tests.c | 86 +++++++++++++++++---------
1 file changed, 58 insertions(+), 28 deletions(-)

--
2.54.0