* [merged mm-stable] mm-kconfig-fixup-zsmalloc-configuration.patch removed from -mm tree
@ 2024-09-09 23:41 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-09-09 23:41 UTC (permalink / raw)
To: mm-commits, minchan, hannes, senozhatsky, akpm
The quilt patch titled
Subject: mm: Kconfig: fixup zsmalloc configuration
has been removed from the -mm tree. Its filename was
mm-kconfig-fixup-zsmalloc-configuration.patch
This patch was dropped because it was merged into the mm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Sergey Senozhatsky <senozhatsky@chromium.org>
Subject: mm: Kconfig: fixup zsmalloc configuration
Date: Tue, 3 Sep 2024 13:00:22 +0900
zsmalloc is not exclusive to zswap. Commit b3fbd58fcbb1 ("mm: Kconfig:
simplify zswap configuration") made CONFIG_ZSMALLOC only visible when
CONFIG_ZSWAP is selected, which makes it impossible to menuconfig
zsmalloc-specific features (stats, chain-size, etc.) on systems that use
ZRAM but don't have ZSWAP enabled.
Make zsmalloc depend on both ZRAM and ZSWAP.
Link: https://lkml.kernel.org/r/20240903040143.1580705-1-senozhatsky@chromium.org
Fixes: b3fbd58fcbb1 ("mm: Kconfig: simplify zswap configuration")
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/Kconfig~mm-kconfig-fixup-zsmalloc-configuration
+++ a/mm/Kconfig
@@ -188,7 +188,7 @@ config Z3FOLD
config ZSMALLOC
tristate
- prompt "N:1 compression allocator (zsmalloc)" if ZSWAP
+ prompt "N:1 compression allocator (zsmalloc)" if (ZSWAP || ZRAM)
depends on MMU
help
zsmalloc is a slab-based memory allocator designed to store
_
Patches currently in -mm which might be from senozhatsky@chromium.org are
zsmalloc-use-unique-zsmalloc-caches-names.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-09 23:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 23:41 [merged mm-stable] mm-kconfig-fixup-zsmalloc-configuration.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.