diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-10-02 17:25:30 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-11-07 05:11:08 +0100 |
commit | b33cc96c7020b923085046e5cf2e934f41c530ec (patch) | |
tree | e760a6c4a49434aac2040ceb2d5dd75b249a825d /mm/ksm.c | |
parent | ksm: convert should_skip_rmap_item() to take a folio (diff) | |
download | linux-b33cc96c7020b923085046e5cf2e934f41c530ec.tar.xz linux-b33cc96c7020b923085046e5cf2e934f41c530ec.zip |
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().
[willy@infradead.org: fix assertions]
Link: https://lkml.kernel.org/r/ZwApWPER7caIA_N3@casper.infradead.org
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>
Diffstat (limited to 'mm/ksm.c')
0 files changed, 0 insertions, 0 deletions