The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/4] add anon mTHP collapse test cases
@ 2026-07-28  8:13 Baolin Wang
  2026-07-28  8:13 ` [PATCH 1/4] selftests: mm: extend the check_huge() to support mTHP check Baolin Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Baolin Wang @ 2026-07-28  8:13 UTC (permalink / raw)
  To: akpm, david, ljs
  Cc: ziy, liam, nico.pache, dev.jain, ryan.roberts, baohua, lance.yang,
	usama.arif, baolin.wang, linux-mm, linux-kselftest, linux-kernel

This patchset is split from the previous shmem mTHP collapse patchset[1],
which only adds anon mTHP collapse selftests. All khugepaged test cases
can pass.

[1] https://lore.kernel.org/all/cover.1781083630.git.baolin.wang@linux.alibaba.com/

Baolin Wang (4):
  selftests: mm: extend the check_huge() to support mTHP check
  selftests: mm: move gather_after_split_folio_orders() into vm_util.c
    file
  selftests: mm: implement the mTHP-sized hugepage check helpers
  selftests: mm: add mTHP collapse test cases

 .../selftests/mm/folio_split_race_test.c      |   2 +-
 tools/testing/selftests/mm/khugepaged.c       | 190 +++++++++++++-----
 tools/testing/selftests/mm/pagemap_ioctl.c    |   2 +-
 .../testing/selftests/mm/prctl_thp_disable.c  |   2 +-
 tools/testing/selftests/mm/run_vmtests.sh     |   2 +
 tools/testing/selftests/mm/soft-dirty.c       |   2 +-
 .../selftests/mm/split_huge_page_test.c       | 139 +------------
 tools/testing/selftests/mm/uffd-common.c      |   4 +-
 tools/testing/selftests/mm/vm_util.c          | 180 ++++++++++++++++-
 tools/testing/selftests/mm/vm_util.h          |   8 +-
 10 files changed, 339 insertions(+), 192 deletions(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-07-28  8:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-28  8:13 [PATCH 0/4] add anon mTHP collapse test cases Baolin Wang
2026-07-28  8:13 ` [PATCH 1/4] selftests: mm: extend the check_huge() to support mTHP check Baolin Wang
2026-07-28  8:13 ` [PATCH 2/4] selftests: mm: move gather_after_split_folio_orders() into vm_util.c file Baolin Wang
2026-07-28  8:13 ` [PATCH 3/4] selftests: mm: implement the mTHP-sized hugepage check helpers Baolin Wang
2026-07-28  8:13 ` [PATCH 4/4] selftests: mm: add mTHP collapse test cases Baolin Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox