[0/5] Replace is_longterm_pinnable_page()

Message ID 20230613201827.9441-1-vishal.moola@gmail.com
Headers
Series Replace is_longterm_pinnable_page() |

Message

Vishal Moola June 13, 2023, 8:18 p.m. UTC
  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(-)