[PATCH v2 0/6] mm/page_io: folio conversion cleanups

Tal Zussman posted 6 patches 4 weeks ago
include/linux/page-flags.h |  3 +--
mm/page_io.c               | 38 ++++++++++++++++++++------------------
mm/swap.h                  |  2 +-
mm/swapfile.c              |  2 +-
mm/zswap.c                 |  2 +-
5 files changed, 24 insertions(+), 23 deletions(-)
[PATCH v2 0/6] mm/page_io: folio conversion cleanups
Posted by Tal Zussman 4 weeks ago
Convert the remaining struct page usage in mm/page_io.c to folios. This
removes one of the last callers of end_page_writeback(), along with the
last caller of ClearPageReclaim(). This allows us to remove the
PG_reclaim page accessors entirely. Clean up a few other stale
references to pages throughout while at it.

The rename of mm/page_io.c to mm/swap_io.c is deferred to a separate
series.

---
Changes in v2:
- Rebased onto latest mm-new
- Add tags (thanks Johannes, Matthew, David, Lorenzo!)
- Remove FOLIO_TEST_CLEAR_FLAG() for reclaim, per Matthew
- Link to v1: https://lore.kernel.org/r/20260806-b4-page_io-folios-v1-0-0899bac3b826@columbia.edu

---
Tal Zussman (6):
      mm/page_io: convert write completion handlers to folios
      mm: remove PageReclaim
      mm/page_io: use swap entries directly in zeromap helpers
      mm/page_io: rename bio_associate_blkg_from_page()
      mm/page_io: refer to folios in swap_writeout() comments
      mm/swap: rename __swap_writepage() to __swap_writeout()

 include/linux/page-flags.h |  3 +--
 mm/page_io.c               | 38 ++++++++++++++++++++------------------
 mm/swap.h                  |  2 +-
 mm/swapfile.c              |  2 +-
 mm/zswap.c                 |  2 +-
 5 files changed, 24 insertions(+), 23 deletions(-)
---
base-commit: d2aad7fdcda7ae8a726926f2d6de7fe9e8ee7563
change-id: 20260806-b4-page_io-folios-5980317b0bd5

Best regards,
--  
Tal Zussman <tz2294@columbia.edu>