acpi-numa-mem_hotplug-mark-hotpluggable-memory-in-memblock.patch removed from -mm tree
Subject: [merged] acpi-numa-mem_hotplug-mark-hotpluggable-memory-in-memblock.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 22 Jan 2014 12:13:06 -0800
The patch titled
Subject: acpi, numa, mem_hotplug: mark hotpluggable memory in memblock
has been removed from the -mm tree. Its filename was
acpi-numa-mem_hotplug-mark-hotpluggable-memory-in-memblock.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Tang Chen <[email protected]>
Subject: acpi, numa, mem_hotplug: mark hotpluggable memory in memblock
When parsing SRAT, we know that which memory area is hotpluggable. So we invoke function memblock_mark_hotplug() introduced by previous patch to mark hotpluggable memory in memblock.
---
arch/x86/mm/numa.c | 2 ++ arch/x86/mm/srat.c | 5 +++++ 2 files changed, 7 insertions(+)
arch/x86/mm/numa.c renamed from arch/x86/mm/numa.c~acpi-numa-mem_hotplug-mark-hotpluggable-memory-in-memblock +2 -0
@@ -568,6 +568,8 @@ static int __init numa_init(int (*init_fmemset (&numa_meminfo,0 ,sizeof (numa_meminfo));WARN_ON (memblock_set_node (0 ,ULLONG_MAX , &memblock.memory,MAX_NUMNODES )); +/* In case that parsing SRAT failed. */ +WARN_ON (memblock_clear_hotplug (0 ,ULLONG_MAX ));numa_reset_distance (); ret =init_func ();
arch/x86/mm/srat.c renamed from arch/x86/mm/srat.c~acpi-numa-mem_hotplug-mark-hotpluggable-memory-in-memblock +5 -0
@@ -181,6 +181,11 @@ acpi_numa_memory_affinity_init(struct ac (unsigned long long ) start, (unsigned long long ) end -1 , hotpluggable ? " hotplug" : ""); +/* Mark hotplug range in memblock. */ +if (hotpluggable &&memblock_mark_hotplug (start, ma->length)) +pr_warn ("SRAT: Failed to mark hotplug range [mem %#010Lx-%#010Lx] in memblock\n" , + (unsigned long long )start, (unsigned long long )end -1 ); +return 0 ; out_err_bad_srat:bad_srat ();
_
Patches currently in -mm which might be from [email protected] are
origin.patch mm-nobootmemc-add-return-value-check-in-__alloc_memory_core_early.patch mm-free-memblockmemory-in-free_all_bootmem.patch mm-free-memblockmemory-in-free_all_bootmem-fix.patch mm-nobootmem-free_all_bootmem-again.patch mm-memory_hotplugc-move-register_memory_resource-out-of-the-lock_memory_hotplug.patch linux-next.patch