The patch titled hot-add-mem x86_64: use CONFIG_MEMORY_HOTPLUG_RESERVE has been added to the -mm tree. Its filename is hot-add-mem-x86_64-use-config_memory_hotplug_reserve.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: hot-add-mem x86_64: use CONFIG_MEMORY_HOTPLUG_RESERVE From: Keith Mannthey <kmannth@xxxxxxxxxx> The api for hot-add memory already has a construct for finding nodes based on an address, memory_add_physaddr_to_nid. This patch allows the fucntion to do something besides return 0. It uses the nodes_add infomation to lookup to node info for a hot add event. Signed-off-by: Keith Mannthey<kmannth@xxxxxxxxxx> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Cc: Andi Kleen <ak@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- diff -puN arch/x86_64/mm/init.c~hot-add-mem-x86_64-use-config_memory_hotplug_reserve arch/x86_64/mm/init.c --- a/arch/x86_64/mm/init.c~hot-add-mem-x86_64-use-config_memory_hotplug_reserve +++ a/arch/x86_64/mm/init.c @@ -555,6 +555,13 @@ int memory_add_physaddr_to_nid(u64 start } #endif +#ifndef CONFIG_ACPI_NUMA +int memory_add_physaddr_to_nid(u64 start) +{ + return 0; +} +#endif + #else /* CONFIG_MEMORY_HOTPLUG */ /* * Memory Hotadd without sparsemem. The mem_maps have been allocated in advance, _ Patches currently in -mm which might be from kmannth@xxxxxxxxxx are memory-hotadd-fixes-enhance-collistion-check.patch hot-add-mem-x86_64-acpi-motherboard-fix.patch hot-add-mem-x86_64-fixup-externs.patch hot-add-mem-x86_64-kconfig-changes.patch hot-add-mem-x86_64-enable-sparsemem-in-sratc.patch hot-add-mem-x86_64-memory_add_physaddr_to_nid-enable.patch hot-add-mem-x86_64-memory_add_physaddr_to_nid-node-fixup.patch hot-add-mem-x86_64-x86_64-kernel-mapping-fix.patch hot-add-mem-x86_64-use-config_memory_hotplug_sparse.patch hot-add-mem-x86_64-use-config_memory_hotplug_reserve.patch hot-add-mem-x86_64-valid-add-range-check.patch convert-i386-numa-kva-space-to-bootmem.patch convert-i386-numa-kva-space-to-bootmem-tidy.patch convert-i386-summit-subarch-to-use-srat-info-for-apicid_to_node-calls.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html