mm: Add DEFINE_PAGE_VMA_WALK and DEFINE_FOLIO_VMA_WALK
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 3 Feb 2022 14:06:08 +0000 (09:06 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 25 Feb 2022 14:10:23 +0000 (09:10 -0500)
commit67ffcb6a64f70ea97a82e5ebcf80d42c6c990e70
treea6d660209e12102c2960e0959ecd27c7f6f7e164
parente45d01ede365dddbed42e2337266717228b84b31
mm: Add DEFINE_PAGE_VMA_WALK and DEFINE_FOLIO_VMA_WALK

Instead of declaring a struct page_vma_mapped_walk directly,
use these helpers to allow us to transition to a PFN approach in the
following patches.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/linux/rmap.h
kernel/events/uprobes.c
mm/damon/paddr.c
mm/ksm.c
mm/migrate.c
mm/page_idle.c
mm/rmap.c