This patchset introduces some more helper functions for the folio conversions, and converts all callers of is_longterm_pinnable_page() to use folios. -- v2: Fix a syntax issue Move flags check to top of try_grab_folio Vishal Moola (Oracle) (5): mmzone: Introduce folio_is_zone_movable() mmzone: Introduce folio_migratetype() mm/gup_test.c: Convert verify_dma_pinned() to us folios mm/gup.c: Reorganize try_get_folio() mm: Remove is_longterm_pinnable_page() and Reimplement folio_is_longterm_pinnable() include/linux/mm.h | 22 +++++------ include/linux/mmzone.h | 8 ++++ mm/gup.c | 86 +++++++++++++++++++++--------------------- mm/gup_test.c | 13 ++++--- 4 files changed, 67 insertions(+), 62 deletions(-) -- 2.40.1