On Thu, Aug 8, 2013 at 2:41 AM, Tang Chen <tangchen@xxxxxxxxxxxxxx> 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@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>