Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752266AbbFHLwc (ORCPT ); Mon, 8 Jun 2015 07:52:32 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:33095 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751746AbbFHLwZ (ORCPT ); Mon, 8 Jun 2015 07:52:25 -0400 MIME-Version: 1.0 X-Originating-IP: [212.25.79.130] In-Reply-To: <55704B0C.1000308@huawei.com> References: <55704A7E.5030507@huawei.com> <55704B0C.1000308@huawei.com> From: Leon Romanovsky Date: Mon, 8 Jun 2015 14:52:03 +0300 Message-ID: Subject: Re: [RFC PATCH 01/12] mm: add a new config to manage the code To: Xishi Qiu Cc: Andrew Morton , nao.horiguchi@gmail.com, Yinghai Lu , "H. Peter Anvin" , Thomas Gleixner , mingo@elte.hu, Xiexiuqi , Hanjun Guo , "Luck, Tony" , Linux MM , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1595 Lines: 50 On Thu, Jun 4, 2015 at 3:56 PM, 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 Is it correct for the systems (NOT xeon) without memory support built in? > + help > + This feature depends on hardware and firmware support. > + ACPI or EFI records the mirror info. > + > # > # If we have space for more page flags then we can enable additional > # optimizations and functionality. > -- > 2.0.0 > > > -- > 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 -- Leon Romanovsky | Independent Linux Consultant www.leon.nu | leon@leon.nu -- 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/