diff options
author | Sergey Senozhatsky <[email protected]> | 2024-09-03 13:00:22 +0900 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-09-09 16:39:12 -0700 |
commit | 5ad7a998ba921e37d7e373a2d70d7da401b27f94 (patch) | |
tree | 0b15c7217ef4a13661dad495ec368b67c3250202 /include/linux/sched/mm.h | |
parent | fc1b43c422f3deee0cfc221b071c3863dc077646 (diff) |
mm: Kconfig: fixup zsmalloc configuration
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/[email protected]
Fixes: b3fbd58fcbb1 ("mm: Kconfig: simplify zswap configuration")
Signed-off-by: Sergey Senozhatsky <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/sched/mm.h')
0 files changed, 0 insertions, 0 deletions