aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/processor.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2025-09-16 19:11:59 +0100
committerAndrew Morton <akpm@linux-foundation.org>2025-09-23 14:14:16 -0700
commit1b00ab48892fe6115618e2c81f9c1891ad0c0a5a (patch)
treeaaa655a777f75f17fcc3e46ea29e694efdb34fae /rust/helpers/processor.c
parentmm: page_alloc: avoid kswapd thrashing due to NUMA restrictions (diff)
downloadlinux-1b00ab48892fe6115618e2c81f9c1891ad0c0a5a.tar.gz
linux-1b00ab48892fe6115618e2c81f9c1891ad0c0a5a.zip
ksm: use a folio inside cmp_and_merge_page()
This removes the last call to page_stable_node(), so delete the wrapper. It also removes a call to trylock_page() and saves a call to compound_head(), as well as removing a reference to folio->page. Link: https://lkml.kernel.org/r/20250916181219.2400258-1-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Chengming Zhou <chengming.zhou@linux.dev> Acked-by: David Hildenbrand <david@redhat.com> Cc: Longlong Xia <xialonglong@kylinos.cn> Cc: xu xin <xu.xin16@zte.com.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions