From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752730AbbIJMaB (ORCPT ); Thu, 10 Sep 2015 08:30:01 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:36302 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751217AbbIJM37 (ORCPT ); Thu, 10 Sep 2015 08:29:59 -0400 From: Sergey Senozhatsky To: Dan Streetman , Seth Jennings Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Sergey Senozhatsky , Sergey Senozhatsky Subject: [RFC][PATCH] mm: make zbud znd zpool to depend on zswap Date: Thu, 10 Sep 2015 21:28:48 +0900 Message-Id: <1441888128-10897-1-git-send-email-sergey.senozhatsky@gmail.com> X-Mailer: git-send-email 2.5.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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