• Amul Shah's avatar
    [PATCH] Fix kdump Crash Kernel boot memory reservation for NUMA machines · 00212fef
    Amul Shah authored
    This patch will fix a boot memory reservation bug that trashes memory on
    the ES7000 when loading the kdump crash kernel.
    
    The code in arch/x86_64/kernel/setup.c to reserve boot memory for the crash
    kernel uses the non-numa aware "reserve_bootmem" function instead of the
    NUMA aware "reserve_bootmem_generic".  I checked to make sure that no other
    function was using "reserve_bootmem" and found none, except the ones that
    had NUMA ifdef'ed out.
    
    I have tested this patch only on an ES7000 with NUMA on and off (numa=off)
    in a single (non-NUMA) and multi-cell (NUMA) configurations.
    Signed-off-by: default avatarAmul Shah <amul.shah@unisys.com>
    Looks-good-to: Vivek Goyal <vgoyal@in.ibm.com>
    Cc: Andi Kleen <ak@muc.de>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    00212fef
setup.c 38.9 KB