Skip to content

Switch zswap to object read/write APIs

Yosry Ahmed linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 22 repliesIn review 4 of 5 applied

Patches in v1 4 of 5 applied

#Subject and filesSizeRepliesApplied
1/5mm: zpool: Add interfaces for object read/write APIsinclude/linux/zpool.h mm/zpool.c mm/zsmalloc.c+86 -03 repliesApplied
2/5mm: zswap: Use object read/write APIs instead of object mapping APIsmm/zswap.c+13 -202 repliesApplied
3/5mm: zpool: Remove object mapping APIsinclude/linux/zpool.h mm/zpool.c mm/zsmalloc.c+0 -1189 repliesApplied
4/5mm: zsmalloc: Remove object mapping APIs and per-CPU map areasinclude/linux/cpuhotplug.h include/linux/zsmalloc.h mm/zsmalloc.c+1 -2474 replies
5/5mm: zpool: Remove zpool_malloc_support_movable()include/linux/zpool.h mm/zpool.c mm/zsmalloc.c +1 more+1 -233 repliesApplied

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchSergey SenozhatskyJohannes WeinerNhat Pham
1/5R-b A-b A-b
2/5A-b A-b
3/5R-b A-b A-b
4/5A-b A-b A-b
5/5R-b A-b A-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.

Read the v1 thread

Cover letter [PATCH mm-unstable 0/5] Switch zswap to object read/write APIs

This patch series updates zswap to use the new object read/write APIs defined by zsmalloc in [1], and remove the old object mapping APIs and the related code from zpool and zsmalloc.

This depends on the zsmalloc/zram series introducing the APIs [1] and the series removing zbud and z3fold [2].

[1]https://lore.kernel.org/lkml/[email protected]/ [2]https://lore.kernel.org/lkml/[email protected]/

Yosry Ahmed (5):
mm: zpool: Add interfaces for object read/write APIs
mm: zswap: Use object read/write APIs instead of object mapping APIs
mm: zpool: Remove object mapping APIs
mm: zsmalloc: Remove object mapping APIs and per-CPU map areas
mm: zpool: Remove zpool_malloc_support_movable()

 include/linux/cpuhotplug.h |   1 -
 include/linux/zpool.h      |  42 ++----
 include/linux/zsmalloc.h   |  21 ---
 mm/zpool.c                 |  93 +++++--------
 mm/zsmalloc.c              | 263 +++----------------------------------
 mm/zswap.c                 |  37 ++----
 6 files changed, 75 insertions(+), 382 deletions(-)
Signature · 1 line
2.48.1.711.g2feabab25a-goog