Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753138AbbFHQgb (ORCPT ); Mon, 8 Jun 2015 12:36:31 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:37970 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752216AbbFHQgX convert rfc822-to-8bit (ORCPT ); Mon, 8 Jun 2015 12:36:23 -0400 MIME-Version: 1.0 X-Originating-IP: [213.57.247.249] In-Reply-To: <3908561D78D1C84285E8C5FCA982C28F32A8E39B@ORSMSX114.amr.corp.intel.com> References: <55704A7E.5030507@huawei.com> <55704B0C.1000308@huawei.com> <3908561D78D1C84285E8C5FCA982C28F32A8E39B@ORSMSX114.amr.corp.intel.com> From: Leon Romanovsky Date: Mon, 8 Jun 2015 19:36:01 +0300 Message-ID: Subject: Re: [RFC PATCH 01/12] mm: add a new config to manage the code To: "Luck, Tony" Cc: Xishi Qiu , Andrew Morton , "nao.horiguchi@gmail.com" , Yinghai Lu , "H. Peter Anvin" , Thomas Gleixner , "mingo@elte.hu" , Xiexiuqi , Hanjun Guo , Linux MM , LKML Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1409 Lines: 43 On Mon, Jun 8, 2015 at 6:14 PM, Luck, Tony wrote: >> > +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? > > Is the "&& NUMA" doing that? If you support NUMA, then you are not a minimal > config for a tablet or laptop. > > If you want a symbol that has a stronger correlation to high end Xeon features > then perhaps MEMORY_FAILURE? I would like to see the default set to be "n". On my machine (x86_64) defconfig enables this feature and I don't know if this feature can work there. ➜ linux-mm git:(dev) ✗ make defconfig ARCH=x86 HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/bin2c HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf *** Default configuration is based on 'x86_64_defconfig' # # configuration written to .config # ➜ linux-mm git:(dev) ✗ grep CONFIG_MEMORY_MIRROR .config CONFIG_MEMORY_MIRROR=y > > -Tony -- 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/