mm/swap: use swap_ops to register swap device's methods
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 21 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm/swap: rename mm/page_io.c to mm/swap_io.cMAINTAINERS mm/ mm/ +1 more | +4 | 5 replies | |
| 2/3 | mm/swap: use swap_ops to register swap device's methodsinclude/ mm/ mm/ +2 more | +76 | 11 replies | |
| 3/3 | mm/swap_io.c: rename swap_writepage_* to swap_write_folio_*mm/ | +6 | 2 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Barry Song | Nhat Pham | Kairui Song |
|---|---|---|---|
| 1/3 | R-b | R-b | A-b |
| 2/3 | |||
| 3/3 | R-b | 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 0/3] mm/swap: use swap_ops to register swap device's methods
This can simplify the code logic and benefit any new type of swap device added later.
And also do renaming in this patchset:
-------
file renaming:
---
mm/page_io.c to mm/swap_io.c
function renaming:
---
swap_writepage_* to swap_write_folio_* in file mm/swap_io.c
Baoquan He (3):
mm/swap: rename mm/page_io.c to mm/swap_io.c mm/swap: use swap_ops to register swap device's methods mm/swap_io.c: rename swap_writepage_* to swap_write_folio_*
MAINTAINERS | 2 +-
include/linux/swap.h | 13 +++++
mm/Makefile | 2 +-
mm/swap.h | 3 +-
mm/{page_io.c => swap_io.c} | 104 +++++++++++++++++++++---------------
mm/swapfile.c | 2 +
mm/zswap.c | 3 +-
7 files changed, 80 insertions(+), 49 deletions(-)
rename mm/{page_io.c => swap_io.c} (91%)Signature · 1 line
2.52.0