lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1441888128-10897-1-git-send-email-sergey.senozhatsky@gmail.com>
Date:	Thu, 10 Sep 2015 21:28:48 +0900
From:	Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To:	Dan Streetman <ddstreet@...e.org>,
	Seth Jennings <sjennings@...iantweb.net>
Cc:	Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org,
	Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
	Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Subject: [RFC][PATCH] mm: make zbud znd zpool to depend on zswap

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@...il.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ