Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753772AbbF3Cw3 (ORCPT ); Mon, 29 Jun 2015 22:52:29 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:26902 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751027AbbF3CwX (ORCPT ); Mon, 29 Jun 2015 22:52:23 -0400 Message-ID: <55920450.703@huawei.com> Date: Tue, 30 Jun 2015 10:52:00 +0800 From: Xishi Qiu User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Kamezawa Hiroyuki CC: Andrew Morton , "H. Peter Anvin" , Ingo Molnar , "Luck, Tony" , Hanjun Guo , Xiexiuqi , , Dave Hansen , Naoya Horiguchi , Vlastimil Babka , Mel Gorman , Linux MM , LKML Subject: Re: [RFC v2 PATCH 1/8] mm: add a new config to manage the code References: <558E084A.60900@huawei.com> <558E0913.7020501@huawei.com> <5590EAA9.5090104@jp.fujitsu.com> In-Reply-To: <5590EAA9.5090104@jp.fujitsu.com> Content-Type: text/plain; charset="Shift_JIS" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.25.179] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1269 Lines: 42 On 2015/6/29 14:50, Kamezawa Hiroyuki wrote: > On 2015/06/27 11:23, Xishi Qiu wrote: >> This patch introduces a new config called "CONFIG_ACPI_MIRROR_MEMORY", set it > CONFIG_MEMORY_MIRROR >> off by default. >> >> Signed-off-by: Xishi Qiu >> --- >> mm/Kconfig | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/mm/Kconfig b/mm/Kconfig >> index 390214d..c40bb8b 100644 >> --- a/mm/Kconfig >> +++ b/mm/Kconfig >> @@ -200,6 +200,14 @@ config MEMORY_HOTREMOVE >> depends on MEMORY_HOTPLUG && ARCH_ENABLE_MEMORY_HOTREMOVE >> depends on MIGRATION >> >> +config MEMORY_MIRROR > > In following patches, you use CONFIG_MEMORY_MIRROR. > > I think the name is too generic besides it's depends on ACPI. > But I'm not sure address based memory mirror is planned in other platform. > > So, hmm. How about dividing the config into 2 parts like attached ? (just an example) > Seems like a good idea, thank you. > Thanks, > -Kame -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/