Skip to content

Replace is_longterm_pinnable_page()

Vishal Moola (Oracle) linux-mm lkml 2 versions – Applied

Status from this message: [merged mm-stable] mm-remove-is_longterm_pinnable_page-and-reimplement-folio_is_longterm_pinnable.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 4 repliesApplied 5/5
  2. v15 patches 6 repliesSuperseded

Changes in v2 from the cover letter

Fix a syntax issue
Move flags check to top of try_grab_folio

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5mmzone: Introduce folio_is_zone_movable()include/linux/mmzone.h+5 -00 repliesApplied
2/5mmzone: Introduce folio_migratetype()include/linux/mmzone.h+3 -03 repliesApplied
3/5mm/gup_test.c: Convert verify_dma_pinned() to us foliosmm/gup_test.c+7 -60 repliesApplied
4/5mm/gup.c: Reorganize try_get_folio()mm/gup.c+43 -430 repliesApplied
5/5mm: Remove is_longterm_pinnable_page() and Reimplement folio_is_longterm_pinnable()include/linux/mm.h+9 -131 replyApplied

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchMatthew Wilcox (Oracle)Lorenzo Stoakes
1/5R-b
2/5R-b
3/5R-b
4/5
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Replace is_longterm_pinnable_page()

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(-)
Signature · 1 line
2.40.1