From: sashiko-bot@kernel.org
To: "Wang Wensheng" <wsw9603@163.com>,
vbabka@kernel.org, hannes@cmpxchg.org, surenb@google.com,
mhocko@suse.com, brendan.jackman@linux.dev, ziy@nvidia.com,
akpm@linux-foundation.org, chrisl@kernel.org, kasong@tencent.com,
shikemeng@huaweicloud.com, nphamcs@gmail.com,
baoquan.he@linux.dev, baohua@kernel.org, youngjun.park@lge.com,
david@kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH 1/2] mm/swap: Don't warn if swap_cluster_alloc_table() failed
Date: Fri, 04 Dec 2026 14:24:41 +0000 [thread overview]
Message-ID: <sashiko-outbox-249966@kernel.org> (raw)
In-Reply-To: <20261203142306.468748-2-wsw9603@163.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] mm/swap: missing Fixes trailer for swap_cluster_populate()
__GFP_NOWARN fix
--
commit 2e26a31cb136f701dcc091b15e0f56f717b977e0
Author: Wang Wensheng <wsw9603@163.com>
> mm/swap: Don't warn if swap_cluster_alloc_table() failed
>
> swap_cluster_alloc_table() is mostly used in the memory reclaim path
> and should not warn when memory allocation fails. The actual user may
> reclaim pagecache or slab to free up memory. Even if the user ultimately
> cannot obtain memory, it is more useful to issue the warning at the last
> possible point.
>
> Signed-off-by: Wang Wensheng <wsw9603@163.com>
[Severity: Low]
This fixes spurious allocation failure warnings from the sleeping
fallback in swap_cluster_populate() introduced when dynamic swap table
allocation was added. Should this include a Fixes tag to help stable
backports track it?
Fixes: 07adc4cf1ecd ("mm, swap: implement dynamic allocation of swap table")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203142306.468748-1-wsw9603@163.com?part=1
next prev parent reply other threads:[~2026-12-04 14:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 14:23 [PATCH 0/2] Fix spurious warnings about memory allocation Wang Wensheng
2026-12-03 14:23 ` [PATCH 1/2] mm/swap: Don't warn if swap_cluster_alloc_table() failed Wang Wensheng
2026-12-04 2:32 ` Youngjun Park
2026-12-04 5:06 ` wangwensheng
2026-12-04 8:21 ` Dev Jain
2026-12-04 14:24 ` sashiko-bot [this message]
2026-12-03 14:23 ` [PATCH 2/2] mm/page_alloc: Move PF_MEMALLOC warning to nopage tag in the slowpath Wang Wensheng
2026-12-03 17:24 ` Michal Hocko
2026-12-04 1:42 ` wangwensheng
2026-12-04 9:29 ` Michal Hocko
2026-12-04 9:06 ` Vlastimil Babka (SUSE)
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-249966@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=baohua@kernel.org \
--cc=baoquan.he@linux.dev \
--cc=brendan.jackman@linux.dev \
--cc=chrisl@kernel.org \
--cc=david@kernel.org \
--cc=hannes@cmpxchg.org \
--cc=kasong@tencent.com \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.com \
--cc=nphamcs@gmail.com \
--cc=sashiko-reviews@lists.linux.dev \
--cc=shikemeng@huaweicloud.com \
--cc=surenb@google.com \
--cc=vbabka@kernel.org \
--cc=wsw9603@163.com \
--cc=youngjun.park@lge.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox