android_kernel_xiaomi_sm8350/arch
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
..
alpha Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
arm Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-02-07 12:57:44 -08:00
avr32 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
blackfin Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
cris Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
frv Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
h8300 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
ia64 [IA64] Fix large MCA bootmem allocation 2008-02-08 12:01:53 -08:00
m32r m32r: build fix of arch/m32r/kernel/smpboot.c 2008-02-07 08:42:32 -08:00
m68k m68k: correct setting of struct user.u_ar0 2008-02-07 14:15:55 -08:00
m68knommu Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
mips Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
parisc Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
powerpc Fix compilation of powerpc asm-offsets.c with old gcc 2008-02-07 14:54:45 -08:00
ppc scheduled OSS driver removal 2008-02-06 10:41:02 -08:00
s390 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
sh Use BOOTMEM_EXCLUSIVE for kdump 2008-02-07 08:42:25 -08:00
sparc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-02-07 10:21:26 -08:00
sparc64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-02-07 10:21:26 -08:00
um uml: make mconsole_stack namespace-aware 2008-02-05 09:44:32 -08:00
v850 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
x86 SLUB: Alternate fast paths using cmpxchg_local 2008-02-07 17:47:41 -08:00
xtensa calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
.gitignore
Kconfig