[PATCH 0/2] mm: fix swapcache writeout and cluster table publication
From: Nhat Pham
Date: Fri Nov 06 2026 - 11:05:12 EST
Sashiko's review of the vswap series uncovered two bugs in existing swap
code: reclaim skips swapcache folios without anon mappings, and cluster
tables can be published while allocator locks are dropped.
Allow swapcache folios through pageout() and keep cluster tables private
until the allocator locks are reacquired. The second patch completes
Kairui Song's locking sketch.
Nhat Pham (2):
mm: vmscan: allow writeout of swapcache folios without anon mappings
mm/swap: publish cluster tables after reacquiring allocator locks
mm/swapfile.c | 106 +++++++++++++++++++++++++++++++++++---------------
mm/vmscan.c | 3 +-
2 files changed, 76 insertions(+), 33 deletions(-)
base-commit: 32959c9a49d24faffb39413322ef80014f88dd16