From: sashiko-bot@kernel.org
To: "Kurt Lin" <lylin1023@gmail.com>,
"Andrew Morton" <akpm@linux-foundation.org>
Cc: "David Hildenbrand" <david@kernel.org>,
"Liam R. Howlett" <liam@infradead.org>,
"Vlastimil Babka" <vbabka@kernel.org>,
"Mike Rapoport" <rppt@kernel.org>,
"Michal Hocko" <mhocko@suse.com>, "Shuah Khan" <shuah@kernel.org>,
"Mina Almasry" <almasrymina@google.com>,
"Sayali Patil" <sayalip@linux.ibm.com>, "Zi Yan" <ziy@nvidia.com>,
"Song Hu" <husong@kylinos.cn>,
linux-mm@kvack.org, "Li Wang" <li.wang@linux.dev>
Subject: Re: [PATCH 1/4] selftests/mm: don't wait for a hugetlb reservation that is expected to fail
Date: Sat, 05 Dec 2026 17:33:06 +0000 [thread overview]
Message-ID: <sashiko-outbox-251769@kernel.org> (raw)
In-Reply-To: <20261205-hugetlb-charge-multi-cgroup-v1-1-e88105afc12a@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] selftests/mm: missing Fixes trailer for commit 29750f71a9b4
--
commit 8b7420b3b5ad93181fc08ff6684f7e1e5f109900
Author: Kurt Lin <lylin1023@gmail.com>
> selftests/mm: don't wait for a hugetlb reservation that is expected to fail
>
> After a synchronous write, write_hugetlbfs_and_get_usage() waits for
> the reservation usage to reach the requested size, even when the
> reservation is expected to fail. That wait then times out after 60
> seconds.
>
> The "more than reservation" and "more than cgroup limit" cases, hidden
> by a stray 'continue' today, take this path. When they were restored,
> the hugetlb category of the linux-mm CI hit its 300 second timeout
> after three such waits.
>
> Only wait when the reservation is expected to succeed.
>
> Signed-off-by: Kurt Lin <lylin1023@gmail.com>
[Severity: Low]
This fixes a bug in write_hugetlbfs_and_get_usage() originally introduced
when the reservation tests were added. Should this include:
Fixes: 29750f71a9b4 ("hugetlb_cgroup: add hugetlb_cgroup reservation tests")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261205-hugetlb-charge-multi-cgroup-v1-0-e88105afc12a@gmail.com?part=1
next prev parent reply other threads:[~2026-12-05 17:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` sashiko-bot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-251769@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=almasrymina@google.com \
--cc=david@kernel.org \
--cc=husong@kylinos.cn \
--cc=li.wang@linux.dev \
--cc=liam@infradead.org \
--cc=linux-mm@kvack.org \
--cc=lylin1023@gmail.com \
--cc=mhocko@suse.com \
--cc=rppt@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=sayalip@linux.ibm.com \
--cc=shuah@kernel.org \
--cc=vbabka@kernel.org \
--cc=ziy@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.