lkml.org 
[lkml]   [2022]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] update mlock to use folios
Date
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 (4):
mm: pagevec: add folio_batch_reinit()
mm: mlock: use folios and a folio batch internally
mm: mlock: update the interface to use folios
Documentation/mm: Update references to __m[un]lock_page() to *_folio()

Documentation/mm/unevictable-lru.rst | 12 +-
include/linux/pagevec.h | 5 +
mm/internal.h | 26 ++-
mm/mlock.c | 266 +++++++++++++--------------
mm/swap.c | 2 +-
5 files changed, 161 insertions(+), 150 deletions(-)

--
2.39.0

\
 
 \ /
  Last update: 2023-03-26 23:20    [W:0.038 / U:5.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site