• keith mannthey's avatar
    [PATCH] x86-64: x86_64 hot-add memory srat.c fix · 926fafeb
    keith mannthey authored
      This patch corrects the logic used in srat.c to figure out what
    parsing what action to take when registering hot-add areas.  Hot-add
    areas should only be added to the node information for the
    MEMORY_HOTPLUG_RESERVE case.  When booting MEMORY_HOTPLUG_SPARSE hot-add
    areas on everything but the last node are getting include in the node
    data and during kernel boot the pages are setup then the kernel dies
    when the pages are used. This patch fixes this issue.
    Signed-off-by: default avatarKeith Mannthey <kmannth@us.ibm.com>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    926fafeb
srat.c 12.1 KB