Skip to content

update mlock to use folios

Lorenzo Stoakes linux-mm lkml llvm oe-kbuild-all 4 versions – Applied

Status from this message: [merged mm-stable] documentation-mm-update-references-to-__mlock_page-to-_folio.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 1 replyApplied 5/5
  2. v35 patches 8 repliesSuperseded
  3. v24 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches1 replySuperseded

Patches in v4 All 5 applied

#Subject and filesSizeRepliesApplied
1/5mm: pagevec: add folio_batch_reinit()include/linux/pagevec.h+5 -00 repliesApplied
2/5mm: mlock: use folios and a folio batch internallymm/mlock.c+124 -1220 repliesApplied
3/5m68k/mm/motorola: specify pmd_page() typearch/m68k/include/asm/motorola_pgtable.h+1 -10 repliesApplied
4/5mm: mlock: update the interface to use foliosmm/internal.h mm/migrate.c mm/mlock.c +3 more+49 -451 replyApplied
5/5Documentation/mm: Update references to __m[un]lock_page() to *_folio()Documentation/mm/unevictable-lru.rst+15 -150 repliesApplied

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchVlastimil BabkaGeert Uytterhoeven
1/5A-b
2/5A-b
3/5A-b A-b
4/5A-b
5/5A-b

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

Read the v4 thread

Cover letter [PATCH v4 0/5] update mlock to use folios

This series updates mlock to use folios, converting the internal interface to using folios exclusively and exposing the folio interface externally.

As a product of this moves to using a folio batch rather than a pagevec for mlock folios, which brings it in line with the core folio batches contained in mm/swap.c.

Lorenzo Stoakes (5):
mm: pagevec: add folio_batch_reinit()
mm: mlock: use folios and a folio batch internally m68k/mm/motorola: specify pmd_page() type
mm: mlock: update the interface to use folios Documentation/mm: Update references to __m[un]lock_page() to *_folio()

 Documentation/mm/unevictable-lru.rst     |  30 +--
 arch/m68k/include/asm/motorola_pgtable.h |   2 +-
 include/linux/pagevec.h                  |   5 +
 mm/internal.h                            |  38 +--
 mm/migrate.c                             |   2 +-
 mm/mlock.c                               | 280 +++++++++++------------
 mm/page_alloc.c                          |   2 +-
 mm/rmap.c                                |   4 +-
 mm/swap.c                                |  10 +-
 9 files changed, 192 insertions(+), 181 deletions(-)

--
2.39.0