From: Matthew Wilcox <willy@infradead.org>
To: Longlong Xia <xialonglong@kylinos.cn>
Cc: akpm@linux-foundation.org, david@redhat.com, xu.xin16@zte.com.cn,
chengming.zhou@linux.dev, linux-kernel@vger.kernel.org,
linux-mm@kvack.org
Subject: Re: [PATCH 1/1] mm/ksm: remove page_stable_node() and use folio_stable_node() directly
Date: Tue, 16 Sep 2025 19:14:22 +0100 [thread overview]
Message-ID: <aMmo_oXbKsed--QV@casper.infradead.org> (raw)
In-Reply-To: <20250916080533.2385624-1-xialonglong@kylinos.cn>
On Tue, Sep 16, 2025 at 04:05:33PM +0800, Longlong Xia wrote:
> The page_stable_node() function was a trivial wrapper around
> folio_stable_node() that had only one call site. Remove this
> unnecessary helper and call folio_stable_node(page_folio(page))
> directly at that site.There is no functional change.
I just sent a replacement for this patch as a reply. I've been sitting
on it since last December as it didn't really feel important nough to
send, but if people are going to try to do this kind of thing, may as
well do it properly.
prev parent reply other threads:[~2025-09-16 18:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-16 8:05 Longlong Xia
2025-09-16 18:11 ` [PATCH] ksm: Use a folio inside cmp_and_merge_page() Matthew Wilcox (Oracle)
2025-09-17 7:38 ` David Hildenbrand
2025-09-17 12:21 ` Chengming Zhou
2025-09-16 18:14 ` Matthew Wilcox [this message]
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=aMmo_oXbKsed--QV@casper.infradead.org \
--to=willy@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=chengming.zhou@linux.dev \
--cc=david@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=xialonglong@kylinos.cn \
--cc=xu.xin16@zte.com.cn \
/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