aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorRuss Anderson <rja@sgi.com>2008-02-05 18:12:32 -0500
committerTony Luck <tony.luck@intel.com>2008-02-08 15:01:53 -0500
commit785285fc8bc7f846ab68a063a8bf5a009d67725d (patch)
tree2ebc54433a7fb4e45d0c30d9503b3a6b31fb1304 /arch/powerpc/mm
parent427639354ff346710012b53e1ceed5e3f3200e0c (diff)
[IA64] Fix large MCA bootmem allocation
The MCA code allocates bootmem memory for NR_CPUS, regardless of how many cpus the system actually has. This change allocates memory only for cpus that actually exist. On my test system with NR_CPUS = 1024, reserved memory was reduced by 130944k. Before: Memory: 27886976k/28111168k available (8282k code, 242304k reserved, 5928k data, 1792k init) After: Memory: 28017920k/28111168k available (8282k code, 111360k reserved, 5928k data, 1792k init) Signed-off-by: Russ Anderson <rja@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/powerpc/mm')
0 files changed, 0 insertions, 0 deletions