From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx128.postini.com [74.125.245.128]) by kanga.kvack.org (Postfix) with SMTP id 1B9F96B0062 for ; Tue, 19 Jun 2012 10:37:41 -0400 (EDT) Received: from /spool/local by e8.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Jun 2012 10:37:38 -0400 Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [9.56.227.237]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 02B756E805C for ; Tue, 19 Jun 2012 10:37:05 -0400 (EDT) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q5JEb40b199704 for ; Tue, 19 Jun 2012 10:37:04 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q5JK7uF0016743 for ; Tue, 19 Jun 2012 16:07:56 -0400 Message-ID: <4FE08E8B.6060000@linux.vnet.ibm.com> Date: Tue, 19 Jun 2012 09:36:59 -0500 From: Seth Jennings MIME-Version: 1.0 Subject: Re: [PATCH 04/10] zcache: remove unnecessary check of config option dependence References: <4FE0392E.3090300@linux.vnet.ibm.com> <4FE039A6.4050206@linux.vnet.ibm.com> In-Reply-To: <4FE039A6.4050206@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Xiao Guangrong Cc: Andrew Morton , Dan Magenheimer , LKML , linux-mm@kvack.org On 06/19/2012 03:34 AM, Xiao Guangrong wrote: > zcache is enabled only if one of CONFIG_CLEANCACHE and CONFIG_FRONTSWAP is > enabled, see the Kconfig: > depends on (CLEANCACHE || FRONTSWAP) && CRYPTO=y && X86 > So, we can remove the check in the source code > > Signed-off-by: Xiao Guangrong Acked-by: Seth Jennings -- Seth -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754417Ab2FSOhm (ORCPT ); Tue, 19 Jun 2012 10:37:42 -0400 Received: from e8.ny.us.ibm.com ([32.97.182.138]:41553 "EHLO e8.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751742Ab2FSOhl (ORCPT ); Tue, 19 Jun 2012 10:37:41 -0400 Message-ID: <4FE08E8B.6060000@linux.vnet.ibm.com> Date: Tue, 19 Jun 2012 09:36:59 -0500 From: Seth Jennings User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Xiao Guangrong CC: Andrew Morton , Dan Magenheimer , LKML , linux-mm@kvack.org Subject: Re: [PATCH 04/10] zcache: remove unnecessary check of config option dependence References: <4FE0392E.3090300@linux.vnet.ibm.com> <4FE039A6.4050206@linux.vnet.ibm.com> In-Reply-To: <4FE039A6.4050206@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12061914-9360-0000-0000-0000077F7C17 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/19/2012 03:34 AM, Xiao Guangrong wrote: > zcache is enabled only if one of CONFIG_CLEANCACHE and CONFIG_FRONTSWAP is > enabled, see the Kconfig: > depends on (CLEANCACHE || FRONTSWAP) && CRYPTO=y && X86 > So, we can remove the check in the source code > > Signed-off-by: Xiao Guangrong Acked-by: Seth Jennings -- Seth