]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ksm: convert should_skip_rmap_item() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 2 Oct 2024 15:25:29 +0000 (16:25 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 1 Nov 2024 04:28:56 +0000 (21:28 -0700)
commit3d93f5da7cf38c2f6067dccc9da5762cbd42bf5f
treeabac536badb0a8184e4f520f4a28c1aa1248cdc8
parent7b835854a95663680686d0c0150a6bca813981cf
ksm: convert should_skip_rmap_item() to take a folio

Remove a call to PageKSM() by passing the folio containing tmp_page to
should_skip_rmap_item.  Removes a hidden call to compound_head().

Link: https://lkml.kernel.org/r/20241002152533.1350629-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Alex Shi <alexs@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/ksm.c