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

Lorenzo Stoakes posted 5 patches 2 years, 8 months ago
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(-)
[PATCH v4 0/5] update mlock to use folios
Posted by Lorenzo Stoakes 2 years, 8 months ago
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