]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: add PageAnonNotKsm()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 2 Oct 2024 15:25:30 +0000 (16:25 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 1 Nov 2024 04:28:56 +0000 (21:28 -0700)
commitc40737c80f77af3a43e02fabae6e3e2222262aac
treeecdf87944cff7762ca1efe141ced3a52ae43f5f0
parent3d93f5da7cf38c2f6067dccc9da5762cbd42bf5f
mm: add PageAnonNotKsm()

Check that this anonymous page is really anonymous, not anonymous-or-KSM.
This optimises the debug check, but its real purpose is to remove the last
two users of PageKsm().

Link: https://lkml.kernel.org/r/20241002152533.1350629-5-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>
include/linux/page-flags.h