lkml.org 
[lkml]   [2015]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC][PATCH] mm: make zbud znd zpool to depend on zswap
Date
There are no zbud and zpool users besides zswap so enabling
(and building) CONFIG_ZPOOL and CONFIG_ZBUD make sense only
when CONFIG_ZSWAP is enabled. In other words, make those
options to depend on CONFIG_ZSWAP.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
---
mm/Kconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/mm/Kconfig b/mm/Kconfig
index 3455a8d..eb48422 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -563,6 +563,7 @@ config ZSWAP

config ZPOOL
tristate "Common API for compressed memory storage"
+ depends on ZSWAP
default n
help
Compressed memory storage API. This allows using either zbud or
@@ -570,6 +571,7 @@ config ZPOOL

config ZBUD
tristate "Low density storage for compressed pages"
+ depends on ZSWAP
default n
help
A special purpose allocator for storing compressed pages.
--
2.5.1


\
 
 \ /
  Last update: 2015-09-10 15:01    [W:0.038 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site