linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Convert much of vmscan to folios
@ 2022-06-17 15:42 Matthew Wilcox (Oracle)
  2022-06-17 15:42 ` [PATCH 1/5] mm/vmscan: Convert reclaim_clean_pages_from_list() " Matthew Wilcox (Oracle)
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Matthew Wilcox (Oracle) @ 2022-06-17 15:42 UTC (permalink / raw)
  To: linux-mm, Andrew Morton; +Cc: Matthew Wilcox (Oracle)

vmscan always operates on folios since it puts the pages on the LRU list.
Switching all of these functions from pages to folios saves 1483 bytes
of text from removing all the baggage around calling compound_page()
and similar functions.  Applies cleanly to next-20220617 and passes an
xfstests run.

Matthew Wilcox (Oracle) (5):
  mm/vmscan: Convert reclaim_clean_pages_from_list() to folios
  mm/vmscan: Convert isolate_lru_pages() to use a folio
  mm/vmscan: Convert move_pages_to_lru() to use a folio
  mm/vmscan: Convert shrink_active_list() to use a folio
  mm/vmscan: Convert reclaim_pages() to use a folio

 include/linux/page-flags.h |   6 +
 mm/vmscan.c                | 228 ++++++++++++++++++-------------------
 2 files changed, 118 insertions(+), 116 deletions(-)

-- 
2.35.1



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

end of thread, other threads:[~2022-07-13 18:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-17 15:42 [PATCH 0/5] Convert much of vmscan to folios Matthew Wilcox (Oracle)
2022-06-17 15:42 ` [PATCH 1/5] mm/vmscan: Convert reclaim_clean_pages_from_list() " Matthew Wilcox (Oracle)
2022-06-19  6:38   ` Christoph Hellwig
2022-06-17 15:42 ` [PATCH 2/5] mm/vmscan: Convert isolate_lru_pages() to use a folio Matthew Wilcox (Oracle)
2022-06-19  6:39   ` Christoph Hellwig
2022-06-17 15:42 ` [PATCH 3/5] mm/vmscan: Convert move_pages_to_lru() " Matthew Wilcox (Oracle)
2022-06-19  6:39   ` Christoph Hellwig
2022-06-17 15:42 ` [PATCH 4/5] mm/vmscan: Convert shrink_active_list() " Matthew Wilcox (Oracle)
2022-06-19  6:40   ` Christoph Hellwig
2022-07-11 20:53   ` Matthew Wilcox
2022-07-13 18:13     ` Andrew Morton
2022-06-17 15:42 ` [PATCH 5/5] mm/vmscan: Convert reclaim_pages() " Matthew Wilcox (Oracle)
2022-06-19  6:40   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox