• Tejun Heo's avatar
    x86-64, NUMA: Simplify hotplug node handling in acpi_numa_memory_affinity_init() · 13081df5
    Tejun Heo authored
    Hotplug node handling in acpi_numa_memory_affinity_init() was
    unnecessarily complicated with storing the original nodes[] entry and
    restoring it afterwards.  Simplify it by not modifying the nodes[]
    entry for hotplug nodes from the beginning.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Yinghai Lu <yinghai@kernel.org>
    Cc: Brian Gerst <brgerst@gmail.com>
    Cc: Cyrill Gorcunov <gorcunov@gmail.com>
    Cc: Shaohui Zheng <shaohui.zheng@intel.com>
    Cc: David Rientjes <rientjes@google.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: H. Peter Anvin <hpa@linux.intel.com>
    13081df5
srat_64.c 14.9 KB