summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorRuss Anderson <rja@sgi.com>2008-02-06 00:12:32 +0100
committerTony Luck <tony.luck@intel.com>2008-02-08 21:01:53 +0100
commit785285fc8bc7f846ab68a063a8bf5a009d67725d (patch)
tree2ebc54433a7fb4e45d0c30d9503b3a6b31fb1304 /drivers/cpuidle
parent[IA64] Simplify cpu_idle_wait (diff)
downloadlinux-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 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions