mbox series

[0/5] Convert much of vmscan to folios

Message ID 20220617154248.700416-1-willy@infradead.org (mailing list archive)
Headers show
Series Convert much of vmscan to folios | expand

Message

Matthew Wilcox June 17, 2022, 3:42 p.m. UTC
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(-)