[PATCH v2 0/5] Replace is_longterm_pinnable_page()

From: Vishal Moola (Oracle)
Date: Tue Jun 13 2023 - 22:14:28 EST


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