diff options
author | 2024-10-02 16:25:30 +0100 | |
---|---|---|
committer | 2024-11-06 20:11:08 -0800 | |
commit | b33cc96c7020b923085046e5cf2e934f41c530ec (patch) | |
tree | e760a6c4a49434aac2040ceb2d5dd75b249a825d /mm/vmscan.c | |
parent | ksm: convert should_skip_rmap_item() to take a folio (diff) | |
download | wireguard-linux-b33cc96c7020b923085046e5cf2e934f41c530ec.tar.xz wireguard-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/vmscan.c')
0 files changed, 0 insertions, 0 deletions