This compiles fine, but I have not tested it in any meaningful way. Anyone got a good test case to be sure I didn't break anything? Matthew Wilcox (Oracle) (3): mm: Constify folio_mapping() and swapcache_mapping() mm: Create snapshot_page() proc: Use snapshot_page() in kpageflags fs/proc/page.c | 24 ++++++++++-------- include/linux/pagemap.h | 4 +-- mm/debug.c | 55 ++++++++--------------------------------- mm/internal.h | 2 ++ mm/swapfile.c | 2 +- mm/util.c | 52 +++++++++++++++++++++++++++++++++++++- 6 files changed, 80 insertions(+), 59 deletions(-) -- 2.47.2