This patch set introduces folio_movable_ops() and converts 3 functions in mm/migrate.c to use folios. It also introduces folio_get_nontail_page() for folio conversions which may want to distinguish between head and tail pages. --- v2: - Add folio_get_nontail_page() to fix behavior in isolate_movable_page() - Rebase on latest mm-unstable Vishal Moola (Oracle) (4): mm: Add folio_get_nontail_page() mm/migrate: Add folio_movable_ops() mm/migrate: Convert isolate_movable_page() to use folios mm/migrate: Convert putback_movable_pages() to use folios include/linux/migrate.h | 9 +++++ include/linux/mm.h | 7 ++++ mm/migrate.c | 87 +++++++++++++++++++++-------------------- 3 files changed, 60 insertions(+), 43 deletions(-) -- 2.38.1