mm/swap: stop using page->private on tail pages for THP_SWAP + cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 12 repliesIn review 3 of 4 applied
Patches in v1 3 of 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mm/swap: stop using page->private on tail pages for THP_SWAParch/ include/ include/ +5 more | +26 | 9 replies | |
| 2/4 | mm/swap: use dedicated entry for swap in folioinclude/ include/ | +15 | 1 reply | Applied |
| 3/4 | mm/swap: inline folio_set_swap_entry() and folio_swap_entry()include/ mm/ mm/ +5 more | +13 | 1 reply | Applied |
| 4/4 | mm/huge_memory: work on folio->swap instead of page->private when splitting foliomm/ | +15 | 1 reply | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Catalin Marinas | Chris Li | Yosry Ahmed |
|---|---|---|---|
| 1/4 | A-b | R-b | |
| 2/4 | R-b | ||
| 3/4 | R-b | ||
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH mm-unstable v1 0/4] mm/swap: stop using page->private on tail pages for THP_SWAP + cleanups
This series stops using page->private on tail pages for THP_SWAP, replaces folio->private by folio->swap for swapcache folios, and starts using "new_folio" for tail pages that we are splitting to remove the usage of page->private for swapcache handling completely.
@Willy, I added your SOB on patch #2 from [1], hoping that's ok.
[1] https://lore.kernel.org/all/ZN1IH/[email protected]/
David Hildenbrand (3):
mm/swap: stop using page->private on tail pages for THP_SWAP mm/swap: inline folio_set_swap_entry() and folio_swap_entry() mm/huge_memory: work on folio->swap instead of page->private when
splitting folio
Matthew Wilcox (1):
mm/swap: use dedicated entry for swap in folio
arch/arm64/mm/mteswap.c | 5 +++-- include/linux/mm_types.h | 35 ++++++++++++++--------------------- include/linux/swap.h | 12 +++++------- mm/huge_memory.c | 40 +++++++++++++++++++--------------------- mm/memory.c | 4 ++-- mm/rmap.c | 2 +- mm/shmem.c | 6 +++--- mm/swap_state.c | 6 +++--- mm/swapfile.c | 6 +++--- mm/util.c | 2 +- mm/vmscan.c | 2 +- mm/zswap.c | 4 ++-- 12 files changed, 57 insertions(+), 67 deletions(-)
Signature · 1 line
2.41.0