1. 08 7月, 2008 3 次提交
    • B
      x86: use reserve_bootmem_generic() to reserve crashkernel memory on x86_64 · 12448e3e
      Bernhard Walle 提交于
      This patch uses reserve_bootmem_generic() instead of reserve_bootmem()
      to reserve the crashkernel memory on x86_64. That's necessary for NUMA
      machines, see 00212fef:
      
        [PATCH] Fix kdump Crash Kernel boot memory reservation for NUMA machines
      
        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: NAmul Shah <amul.shah@unisys.com>
        Looks-good-to: Vivek Goyal <vgoyal@in.ibm.com>
        Cc: Andi Kleen <ak@muc.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      
      The switch-back to reserve_bootmem() was accidentally introduced in
      5c3391f9 when adding the BOOTMEM_EXCLUSIVE
      parameter.
      Signed-off-by: NBernhard Walle <bwalle@suse.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      12448e3e
    • B
      x86: add flags parameter to reserve_bootmem_generic() · 8b2ef1d7
      Bernhard Walle 提交于
      This patch adds a 'flags' parameter to reserve_bootmem_generic() like it
      already has been added in reserve_bootmem() with commit
      72a7fe39.
      
      It also changes all users to use BOOTMEM_DEFAULT, which doesn't effectively
      change the behaviour. Since the change is x86-specific, I don't think it's
      necessary to add a new API for migration. There are only 4 users of that
      function.
      
      The change is necessary for the next patch, using reserve_bootmem_generic()
      for crashkernel reservation.
      Signed-off-by: NBernhard Walle <bwalle@suse.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      8b2ef1d7
    • I
      Merge branch 'linus' into tmp.x86.mpparse.new · 896395c2
      Ingo Molnar 提交于
      896395c2
  2. 07 7月, 2008 3 次提交
  3. 06 7月, 2008 13 次提交
  4. 05 7月, 2008 21 次提交