]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[PATCH] x86_64: Fix memory hotadd heuristics
authorAndi Kleen <ak@suse.de>
Mon, 15 May 2006 16:19:44 +0000 (18:19 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 16 May 2006 14:59:31 +0000 (07:59 -0700)
commitfad7906d16e8c4926aeb5b0f1756eb9f55b2837d
tree1a238328b29316e3aa8d8fa9f05dedcf1d58c153
parent5491d0f3e206beb95eeb506510d62a1dab462df1
[PATCH] x86_64: Fix memory hotadd heuristics

This fixes some boot failures on Dell and Unisys systems with memory
hotadd added.

 - Set hotadd_percent to 0 by default.  This means anybody using hotadd
   memory needs to specify the value on the command line.  That's
   because there are lots of Intel boxes which have a bogus hotplug area
   in their SRAT and they would waste a lot of memory before.
 - Fix calculation of how much memory to use when the hotplug area
   exceeds hotadd_percent
 - Fix fallback when the
 - Fix fallback if memory hotadd is not compiled in.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/srat.c