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

From: Yosry Ahmed
Date: Wed Mar 05 2025 - 01:12:18 EST


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@xxxxxxxxxxxx/
[2]https://lore.kernel.org/lkml/20250129180633.3501650-1-yosry.ahmed@xxxxxxxxx/

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