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

Yosry Ahmed posted 5 patches 11 months, 1 week ago
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(-)
[PATCH mm-unstable 0/5] Switch zswap to object read/write APIs
Posted by Yosry Ahmed 11 months, 1 week ago
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/20250227043618.88380-1-senozhatsky@chromium.org/
[2]https://lore.kernel.org/lkml/20250129180633.3501650-1-yosry.ahmed@linux.dev/

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(-)

-- 
2.48.1.711.g2feabab25a-goog
Re: [PATCH mm-unstable 0/5] Switch zswap to object read/write APIs
Posted by Sergey Senozhatsky 11 months, 1 week ago
On (25/03/05 06:11), Yosry Ahmed wrote:
> 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.

Thank you for working on this!