All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] selftests/mm: run all hugetlb cgroup reservation tests
@ 2026-12-04 17:31 Kurt Lin
  2026-12-04 17:31 ` [PATCH 1/4] selftests/mm: don't wait for a hugetlb reservation that is expected to fail Kurt Lin
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Kurt Lin @ 2026-12-04 17:31 UTC (permalink / raw)
  To: Andrew Morton
  Cc: David Hildenbrand, Liam R. Howlett, Vlastimil Babka,
	Mike Rapoport, Michal Hocko, Shuah Khan, Mina Almasry,
	Sayali Patil, Zi Yan, Song Hu, linux-mm, linux-kselftest,
	linux-kernel, Li Wang, Kurt Lin

Song's "selftests/mm: restore hidden hugetlb reservation scenarios" was
dropped from mm-unstable because it made the hugetlb category of the
linux-mm CI time out [1]. The time goes into a 60 second wait in the
cases that expect a reservation to fail. As there has been no follow-up,
this series carries Song's patch (3/4, unchanged) behind fixes for that
(1-2/4), and fixes the multiple cgroups test it had to leave skipped
(4/4). That test failed only because of bugs in the script.

Tested in a virtme-ng guest on mm-new: charge_reserved_hugetlb.sh
-cgroup-v2 passes all 84 checks in about 62 seconds, and
run_vmtests.sh -t hugetlb passes in 87 seconds. It also passes with
KASAN and lockdep on an mm-new that includes David's "mm/hugetlb:
various fixes (2)" v1. Not tested with cgroup v1 or other huge page
sizes.

Found and fixed with the help of an AI coding assistant.

[1] https://lore.kernel.org/20260714021630.1063823-1-husong@kylinos.cn

---
Kurt Lin (3):
      selftests/mm: don't wait for a hugetlb reservation that is expected to fail
      selftests/mm: don't use killall --wait in charge_reserved_hugetlb.sh
      selftests/mm: fix and enable the multiple cgroups hugetlb tests

Song Hu (1):
      selftests/mm: restore hidden hugetlb reservation scenarios

 .../selftests/mm/charge_reserved_hugetlb.sh        | 62 +++++++++++-----------
 1 file changed, 32 insertions(+), 30 deletions(-)
---
base-commit: 872ceec1e3caf227655a58f7407a9c8493dcf56f
change-id: 20261205-hugetlb-charge-multi-cgroup-c222845080f1

Best regards,
-- 
Kurt Lin <lylin1023@gmail.com>



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

end of thread, other threads:[~2026-12-05 17:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 17:31 [PATCH 0/4] selftests/mm: run all hugetlb cgroup reservation tests Kurt Lin
2026-12-04 17:31 ` [PATCH 1/4] selftests/mm: don't wait for a hugetlb reservation that is expected to fail Kurt Lin
2026-12-05  8:35   ` + selftests-mm-dont-wait-for-a-hugetlb-reservation-that-is-expected-to-fail.patch added to mm-new branch Andrew Morton
2026-12-05 17:33   ` [PATCH 1/4] selftests/mm: don't wait for a hugetlb reservation that is expected to fail sashiko-bot
2026-12-04 17:31 ` [PATCH 2/4] selftests/mm: don't use killall --wait in charge_reserved_hugetlb.sh Kurt Lin
2026-12-05  8:35   ` + selftests-mm-dont-use-killall-wait-in-charge_reserved_hugetlbsh.patch added to mm-new branch Andrew Morton
2026-12-05 17:33   ` [PATCH 2/4] selftests/mm: don't use killall --wait in charge_reserved_hugetlb.sh sashiko-bot
2026-12-04 17:31 ` [PATCH 3/4] selftests/mm: restore hidden hugetlb reservation scenarios Kurt Lin
2026-12-05  8:35   ` + selftests-mm-restore-hidden-hugetlb-reservation-scenarios.patch added to mm-new branch Andrew Morton
2026-12-05 17:33   ` [PATCH 3/4] selftests/mm: restore hidden hugetlb reservation scenarios sashiko-bot
2026-12-04 17:32 ` [PATCH 4/4] selftests/mm: fix and enable the multiple cgroups hugetlb tests Kurt Lin
2026-12-05  8:35   ` + selftests-mm-fix-and-enable-the-multiple-cgroups-hugetlb-tests.patch added to mm-new branch Andrew Morton
2026-12-05 17:33   ` [PATCH 4/4] selftests/mm: fix and enable the multiple cgroups hugetlb tests sashiko-bot
2026-12-05  8:33 ` [PATCH 0/4] selftests/mm: run all hugetlb cgroup reservation tests Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.