linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* stop passing a writeback_control to swap/shmem writeout v2
@ 2025-05-16  7:40 Christoph Hellwig
  2025-05-16  7:40 ` [PATCH 1/5] mm: split out a writeout helper from pageout Christoph Hellwig
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Christoph Hellwig @ 2025-05-16  7:40 UTC (permalink / raw)
  To: Andrew Morton, Hugh Dickins, Johannes Weiner, Yosry Ahmed, Nhat Pham
  Cc: Matthew Wilcox, Chengming Zhou, Baolin Wang, linux-mm

Hi all,

this series was intended to remove the last remaining users of
AOP_WRITEPAGE_ACTIVATE after my other pending patches removed the
rest, but spectacularly failed at that.

But instead it nicely improves the code, and removes two pointers
from struct writeback_control.

Changes since v1:
 - drop to patch to be merged through a different tree or later
 - fix !CONFIG_SWAP compilation

Diffstat:
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c |    2 
 drivers/gpu/drm/ttm/ttm_backup.c          |    9 ---
 include/linux/shmem_fs.h                  |    5 +
 include/linux/writeback.h                 |   10 ---
 mm/page_io.c                              |   71 +++++++++++--------------
 mm/shmem.c                                |   17 ++----
 mm/swap.h                                 |    9 ++-
 mm/vmscan.c                               |   84 +++++++++++++-----------------
 mm/zswap.c                                |    5 -
 9 files changed, 91 insertions(+), 121 deletions(-)


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

end of thread, other threads:[~2025-05-19 23:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-16  7:40 stop passing a writeback_control to swap/shmem writeout v2 Christoph Hellwig
2025-05-16  7:40 ` [PATCH 1/5] mm: split out a writeout helper from pageout Christoph Hellwig
2025-05-16  7:40 ` [PATCH 2/5] mm: stop passing a writeback_control structure to shmem_writeout Christoph Hellwig
2025-05-16  7:40 ` [PATCH 3/5] mm: tidy up swap_writeout Christoph Hellwig
2025-05-16  7:40 ` [PATCH 4/5] mm: stop passing a writeback_control structure to __swap_writepage Christoph Hellwig
2025-05-16  7:40 ` [PATCH 5/5] mm: stop passing a writeback_control structure to swap_writeout Christoph Hellwig
2025-05-19 23:54 ` stop passing a writeback_control to swap/shmem writeout v2 Andrew Morton

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