[PATCH 0/5] Replace is_longterm_pinnable_page()

From: Vishal Moola (Oracle)
Date: Tue Jun 13 2023 - 16:19:07 EST


This patchset introduces some more helper functions for the folio
conversions, and converts all callers of is_longterm_pinnable_page() to
use folios.

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 | 88 ++++++++++++++++++++++--------------------
mm/gup_test.c | 13 ++++---
4 files changed, 70 insertions(+), 61 deletions(-)

--
2.40.1