[PATCH v2 0/7] selftests/mm: Fix false positives and skip unsupported tests

Aboorva Devarajan posted 7 patches 3 months ago
There is a newer version of this series
tools/testing/selftests/mm/hugepage-mremap.c  | 16 ++++++++++---
.../selftests/mm/ksm_functional_tests.c       | 24 +++++++++++++------
.../selftests/mm/split_huge_page_test.c       | 23 +++++++++++++-----
tools/testing/selftests/mm/thuge-gen.c        | 11 +++++----
.../selftests/mm/virtual_address_range.c      |  8 ++++++-
5 files changed, 61 insertions(+), 21 deletions(-)
[PATCH v2 0/7] selftests/mm: Fix false positives and skip unsupported tests
Posted by Aboorva Devarajan 3 months ago
Hi all,

This patch series addresses false positives in the generic mm selftests
and skips tests that cannot run correctly due to missing features or system
limitations.

---

v1: https://lore.kernel.org/all/20250616160632.35250-1-aboorvad@linux.ibm.com/

Changes in v2:

   - Rebased onto the mm-new branch, top commit of the base is 3b4a8ad89f7e ("mm: add zblock allocator").
   - Split some patches for clarity.
   - Updated virtual_address_range test to support testing 4PB VA on PPC64.
   - Added proper Fixes: tags.
   - Included a patch to skip a failing userfaultfd test when unsupported,
     instead of reporting a failure.

---

Please let us know if you have any further comments.

Thanks,
Aboorva

Aboorva Devarajan (3):
  selftests/mm: Fix child process exit codes in ksm_functional_tests
  selftests/mm: Skip thuge-gen if shmmax is too small or no 1G huge
    pages
  selftests/mm: Skip hugepage-mremap test if userfaultfd unavailable

Donet Tom (4):
  mm/selftests: Fix incorrect pointer being passed to mark_range()
  selftests/mm: Add support to test 4PB VA on PPC64
  selftest/mm: Fix ksm_funtional_test failures
  mm/selftests: Fix split_huge_page_test failure on systems with 64KB
    page size

 tools/testing/selftests/mm/hugepage-mremap.c  | 16 ++++++++++---
 .../selftests/mm/ksm_functional_tests.c       | 24 +++++++++++++------
 .../selftests/mm/split_huge_page_test.c       | 23 +++++++++++++-----
 tools/testing/selftests/mm/thuge-gen.c        | 11 +++++----
 .../selftests/mm/virtual_address_range.c      |  8 ++++++-
 5 files changed, 61 insertions(+), 21 deletions(-)

-- 
2.43.5