From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932811AbbFIKTs (ORCPT ); Tue, 9 Jun 2015 06:19:48 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:16050 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752869AbbFIKTk (ORCPT ); Tue, 9 Jun 2015 06:19:40 -0400 Message-ID: <5576BBA5.20005@huawei.com> Date: Tue, 9 Jun 2015 18:10:45 +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 , , Yinghai Lu , "H. Peter Anvin" , "Thomas Gleixner" , , Xiexiuqi , Hanjun Guo , "Luck, Tony" , Linux MM , LKML Subject: Re: [RFC PATCH 01/12] mm: add a new config to manage the code References: <55704A7E.5030507@huawei.com> <55704B0C.1000308@huawei.com> <55768B42.80503@jp.fujitsu.com> In-Reply-To: <55768B42.80503@jp.fujitsu.com> Content-Type: text/plain; charset="windows-1252" 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 On 2015/6/9 14:44, Kamezawa Hiroyuki wrote: > On 2015/06/04 21:56, Xishi Qiu wrote: >> This patch introduces a new config called "CONFIG_ACPI_MIRROR_MEMORY", it is >> used to on/off the feature. >> >> Signed-off-by: Xishi Qiu >> --- >> mm/Kconfig | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/mm/Kconfig b/mm/Kconfig >> index 390214d..4f2a726 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 >> + bool "Address range mirroring support" >> + depends on X86 && NUMA >> + default y >> + help >> + This feature depends on hardware and firmware support. >> + ACPI or EFI records the mirror info. > > default y...no runtime influence when the user doesn't use memory mirror ? > It is a new feature, so how about like this: default y -> n? Thanks, Xishi Qiu > Thanks, > -Kame > > > > > . >