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

Aboorva Devarajan posted 7 patches 2 months, 1 week ago
There is a newer version of this series
tools/testing/selftests/mm/hugepage-mremap.c  | 16 +++++++++--
.../selftests/mm/ksm_functional_tests.c       | 28 +++++++++++++------
.../selftests/mm/split_huge_page_test.c       | 23 +++++++++------
tools/testing/selftests/mm/thuge-gen.c        | 11 +++++---
.../selftests/mm/virtual_address_range.c      | 13 ++++++++-
5 files changed, 67 insertions(+), 24 deletions(-)
[PATCH v3 0/7] selftests/mm: Fix false positives and skip unsupported tests
Posted by Aboorva Devarajan 2 months, 1 week 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.


v2: https://lore.kernel.org/all/20250703060656.54345-1-aboorvad@linux.ibm.com/

Changes in v3:

  - Rebased onto the latest mm-new branch, top commit of the base is commit 0709ddf8951f ("mm: add zblock allocator").
  - Minor refactor based on the review comments.
  - Included the tags from the previous version.

---

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 commit 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 test if system is not setup properly
  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       | 28 +++++++++++++------
 .../selftests/mm/split_huge_page_test.c       | 23 +++++++++------
 tools/testing/selftests/mm/thuge-gen.c        | 11 +++++---
 .../selftests/mm/virtual_address_range.c      | 13 ++++++++-
 5 files changed, 67 insertions(+), 24 deletions(-)

-- 
2.47.1