From: Russ Anderson Date: Tue, 5 Feb 2008 23:12:32 +0000 (-0600) Subject: [IA64] Fix large MCA bootmem allocation X-Git-Tag: v2.6.25-rc1~30^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=785285fc8bc7f846ab68a063a8bf5a009d67725d;p=pandora-kernel.git [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 Signed-off-by: Tony Luck --- Reading git-diff-tree failed