]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mm: remove unused zpool layer
authorJohannes Weiner <hannes@cmpxchg.org>
Fri, 29 Aug 2025 16:15:27 +0000 (17:15 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 21 Sep 2025 21:21:59 +0000 (14:21 -0700)
commit2ccd9fecd9163f168761d4398564c81554f636ef
tree2c365d92615e2f3fd0e1a0e9c90a4b4cb9bcddfd
parent5c3f8be0c6b1a7b145a5db012b427c25516564c4
mm: remove unused zpool layer

With zswap using zsmalloc directly, there are no more in-tree users of
this code.  Remove it.

With zpool gone, zsmalloc is now always a simple dependency and no
longer something the user needs to configure. Hide CONFIG_ZSMALLOC
from the user and have zswap and zram pull it in as needed.

Link: https://lkml.kernel.org/r/20250829162212.208258-3-hannes@cmpxchg.org
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: SeongJae Park <sj@kernel.org>
Acked-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Cc: Chengming Zhou <zhouchengming@bytedance.com>
Cc: Nhat Pham <nphamcs@gmail.com>
Cc: Vitaly Wool <vitaly.wool@konsulko.se>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/admin-guide/mm/zswap.rst
Documentation/core-api/mm-api.rst
Documentation/driver-api/crypto/iaa/iaa-crypto.rst
MAINTAINERS
arch/loongarch/configs/loongson3_defconfig
include/linux/zpool.h [deleted file]
mm/Kconfig
mm/Makefile
mm/zpool.c [deleted file]
mm/zsmalloc.c
tools/testing/selftests/zram/README