linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] update mlock to use folios
@ 2022-12-22 19:48 Lorenzo Stoakes
  2022-12-22 19:48 ` [PATCH 1/4] mm: pagevec: add folio_batch_reinit() Lorenzo Stoakes
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Lorenzo Stoakes @ 2022-12-22 19:48 UTC (permalink / raw)
  To: linux-mm, Andrew Morton, linux-kernel
  Cc: Matthew Wilcox, Hugh Dickins, Vlastimil Babka, Liam Howlett,
	William Kucharski, Christian Brauner, Jonathan Corbet,
	Mike Rapoport, Joel Fernandes, Lorenzo Stoakes

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-26  6:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-22 19:48 [PATCH 0/4] update mlock to use folios Lorenzo Stoakes
2022-12-22 19:48 ` [PATCH 1/4] mm: pagevec: add folio_batch_reinit() Lorenzo Stoakes
2022-12-22 19:48 ` [PATCH 2/4] mm: mlock: use folios and a folio batch internally Lorenzo Stoakes
2022-12-22 19:48 ` [PATCH 3/4] mm: mlock: update the interface to use folios Lorenzo Stoakes
2022-12-26  1:05   ` kernel test robot
2022-12-26  6:53     ` Lorenzo Stoakes
2022-12-22 19:48 ` [PATCH 4/4] Documentation/mm: Update references to __m[un]lock_page() to *_folio() Lorenzo Stoakes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).