diff options
author | Russ Anderson <rja@sgi.com> | 2008-02-06 00:12:32 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-02-08 21:01:53 +0100 |
commit | 785285fc8bc7f846ab68a063a8bf5a009d67725d (patch) | |
tree | 2ebc54433a7fb4e45d0c30d9503b3a6b31fb1304 /COPYING | |
parent | [IA64] Simplify cpu_idle_wait (diff) | |
download | linux-785285fc8bc7f846ab68a063a8bf5a009d67725d.tar.xz linux-785285fc8bc7f846ab68a063a8bf5a009d67725d.zip |
[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 'COPYING')
0 files changed, 0 insertions, 0 deletions