From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with ESMTP id 6EF41600762 for ; Wed, 2 Dec 2009 07:44:51 -0500 (EST) Date: Wed, 2 Dec 2009 13:44:46 +0100 From: Andi Kleen Subject: Re: [PATCH 22/24] HWPOISON: add memory cgroup filter Message-ID: <20091202124446.GA18989@one.firstfloor.org> References: <20091202031231.735876003@intel.com> <20091202043046.519053333@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091202043046.519053333@intel.com> Sender: owner-linux-mm@kvack.org To: Wu Fengguang Cc: Andi Kleen , Andrew Morton , KOSAKI Motohiro , Hugh Dickins , Daisuke Nishimura , Balbir Singh , KAMEZAWA Hiroyuki , Li Zefan , Paul Menage , Nick Piggin , linux-mm@kvack.org, LKML List-ID: > > +static int hwpoison_filter_task(struct page *p) > +{ Can we make that ifdef instead of depends on ? -Andi > config HWPOISON_INJECT > - tristate "Poison pages injector" > + tristate "HWPoison pages injector" > depends on MEMORY_FAILURE && DEBUG_KERNEL > + depends on CGROUP_MEM_RES_CTLR_SWAP -- ak@linux.intel.com -- Speaking for myself only. -- 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