mm: fix swapcache writeout and cluster table races
Status from this message: [merged mm-hotfixes-stable] mm-vmscan-allow-writeout-of-swapcache-folios-without-anon-mappings.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesApplied 3/3
- v12 patches 5 repliesSuperseded
Changes in v2 from the cover letter
- Rebase onto the current mm-unstable tree.
- Use Suggested-by for Kairui in patch 2, as he requested.
- Add patch 3 to prevent stale tableless-cluster relocation, addressing both scenarios in Sashiko's review.
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm: vmscan: allow writeout of swapcache folios without anon mappingsmm/ | +2 | 0 replies | Applied |
| 2/3 | mm/swap: publish cluster tables after reacquiring allocator locksmm/ | +74 | 1 reply | Applied |
| 3/3 | mm/swap: skip relocation of tableless clustersmm/ | +7 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Baolin Wang | Kairui Song |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | A-b | |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] mm: fix swapcache writeout and cluster table races
Reviews of vswap and v1 of this series found bugs in existing swap code. Allow swapcache writeout without anon mappings, publish cluster tables with the allocator locks held, and leave tableless clusters to the allocator.
Changes in v2:
- Rebase onto the current mm-unstable tree.
- Use Suggested-by for Kairui in patch 2, as he requested.
- Add patch 3 to prevent stale tableless-cluster relocation, addressing both scenarios in Sashiko's review.
v1: https://lore.kernel.org/all/[email protected]/
Nhat Pham (3):
mm: vmscan: allow writeout of swapcache folios without anon mappings mm/swap: publish cluster tables after reacquiring allocator locks mm/swap: skip relocation of tableless clusters
mm/swapfile.c | 113 ++++++++++++++++++++++++++++++++++++-------------- mm/vmscan.c | 3 +- 2 files changed, 83 insertions(+), 33 deletions(-)
base-commit: b024a51b0184b1efb6f55b11aaf7b15a490a6307
Signature · 1 line
2.53.0-Meta