android_kernel_xiaomi_sm8350/arch/ia64
Russ Anderson 785285fc8b [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>
2008-02-08 12:01:53 -08:00
..
configs
dig
hp Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2008-02-05 10:24:52 -08:00
ia32 [IA64] honor notify_die() returning NOTIFY_STOP 2008-02-05 08:26:44 -08:00
kernel [IA64] Fix large MCA bootmem allocation 2008-02-08 12:01:53 -08:00
lib
mm Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
oprofile
pci
scripts
sn Remove pointless casts from void pointers 2008-02-06 10:41:01 -08:00
defconfig
install.sh
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2008-02-04 07:58:52 -08:00
Kconfig.debug
Makefile
module.lds