mbox series

[00/13] More swap folio conversions

Message ID 20231213215842.671461-1-willy@infradead.org (mailing list archive)
Headers show
Series More swap folio conversions | expand

Message

Matthew Wilcox Dec. 13, 2023, 9:58 p.m. UTC
These all seem like fairly straightforward conversions to me.
A lot of compound_head() calls get removed.  And page_swap_info(),
which is nice.  Passes my fairly limited testing.

Matthew Wilcox (Oracle) (13):
  mm: Return the folio from __read_swap_cache_async()
  mm: Pass a folio to __swap_writepage()
  mm: Pass a folio to swap_writepage_fs()
  mm: Pass a folio to swap_writepage_bdev_sync()
  mm: Pass a folio to swap_writepage_bdev_async()
  mm: Pass a folio to swap_readpage_fs()
  mm: Pass a folio to swap_readpage_bdev_sync()
  mm: Pass a folio to swap_readpage_bdev_async()
  mm: Convert swap_page_sector() to swap_folio_sector()
  mm: Convert swap_readpage() to swap_read_folio()
  mm: Remove page_swap_info()
  mm: Return a folio from read_swap_cache_async()
  mm: Convert swap_cluster_readahead and swap_vma_readahead to return a
    folio

 include/linux/swap.h  |   5 +--
 include/linux/zswap.h |   4 +-
 mm/madvise.c          |  22 +++++-----
 mm/memory.c           |   4 +-
 mm/page_io.c          |  79 ++++++++++++++++-----------------
 mm/shmem.c            |   8 ++--
 mm/swap.h             |  29 ++++++------
 mm/swap_state.c       | 100 ++++++++++++++++++++----------------------
 mm/swapfile.c         |  16 +++----
 mm/zswap.c            |  48 ++++++++++----------
 10 files changed, 148 insertions(+), 167 deletions(-)