From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx105.postini.com [74.125.245.105]) by kanga.kvack.org (Postfix) with SMTP id CE7326B0033 for ; Thu, 8 Aug 2013 12:41:26 -0400 (EDT) Received: by mail-oa0-f42.google.com with SMTP id i18so5739834oag.29 for ; Thu, 08 Aug 2013 09:41:25 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1375954883-30225-5-git-send-email-tangchen@cn.fujitsu.com> References: <1375954883-30225-1-git-send-email-tangchen@cn.fujitsu.com> <1375954883-30225-5-git-send-email-tangchen@cn.fujitsu.com> Date: Thu, 8 Aug 2013 09:41:25 -0700 Message-ID: Subject: Re: [PATCH part4 4/4] x86, acpi, numa, mem_hotplug: Find hotpluggable memory in SRAT memory affinities. From: Yinghai Lu Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Tang Chen Cc: Bob Moore , Lv Zheng , "Rafael J. Wysocki" , Len Brown , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrew Morton , Tejun Heo , Thomas Renninger , Jiang Liu , Wen Congyang , Lai Jiangshan , Yasuaki Ishimatsu , Taku Izumi , Mel Gorman , Minchan Kim , mina86@mina86.com, gong.chen@linux.intel.com, Vasilis Liaskovitis , lwoodman@redhat.com, Rik van Riel , jweiner@redhat.com, Prarit Bhargava , Zhang Yanfei , yanghy@cn.fujitsu.com, the arch/x86 maintainers , "linux-doc@vger.kernel.org" , Linux Kernel Mailing List , Linux MM , ACPI Devel Maling List On Thu, Aug 8, 2013 at 2:41 AM, Tang Chen wrote: > In ACPI SRAT(System Resource Affinity Table), there is a memory affinity for each > memory range in the system. In each memory affinity, there is a field indicating > that if the memory range is hotpluggable. > > This patch parses all the memory affinities in SRAT only, and find out all the > hotpluggable memory ranges in the system. oh, no. How do you make sure the SRAT's entries are right ? later numa_init could reject srat table if srat ranges does not cover e820 memmap. Also parse srat table two times looks silly. Yinghai -- 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