Re: [PATCH 1/1] mm/ksm: remove page_stable_node() and use folio_stable_node() directly
From: Matthew Wilcox
Date: Tue Sep 16 2025 - 14:14:35 EST
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.