summaryrefslogtreecommitdiffstats
path: root/arch/ia64/mm/init.c
diff options
context:
space:
mode:
authorRuss Anderson <rja@sgi.com>2008-02-05 17:12:32 -0600
committerTony Luck <tony.luck@intel.com>2008-02-08 12:01:53 -0800
commit785285fc8bc7f846ab68a063a8bf5a009d67725d (patch)
tree2ebc54433a7fb4e45d0c30d9503b3a6b31fb1304 /arch/ia64/mm/init.c
parent427639354ff346710012b53e1ceed5e3f3200e0c (diff)
downloadop-kernel-dev-785285fc8bc7f846ab68a063a8bf5a009d67725d.zip
op-kernel-dev-785285fc8bc7f846ab68a063a8bf5a009d67725d.tar.gz
[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/ia64/mm/init.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud