linux/arch/s390
Heiko Carstens 54330456b2 [PATCH] s390: smp initialization speed
The last changes that introduced the additional_cpus command line parameter
also introduced a regression regarding smp initialization speed.  In
smp_setup_cpu_possible_map() cpu_present_map is set to the same value as
cpu_possible_map.  Especially that means that bits in the present map will be
set for cpus that are not present.  This will cause a slow down in the initial
cpu_up() loop in smp_init() since trying to take cpus online that aren't
present takes a while.

Fix this by setting only bits for present cpus in cpu_present_map and set
cpu_present_map to cpu_possible_map in smp_cpus_done().

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-17 13:59:27 -08:00
..
appldata [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
boot [PATCH] use ${CROSS_COMPILE}installkernel in arch/*/boot/install.sh 2005-06-23 09:45:07 -07:00
crypto [PATCH] s390: sha256 crypto code fix 2006-01-14 18:27:08 -08:00
kernel [PATCH] s390: smp initialization speed 2006-02-17 13:59:27 -08:00
lib [PATCH] s390: fix __delay implementation 2006-02-14 16:09:35 -08:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] cmm NULL noise removal, __user annotations 2006-02-07 20:58:15 -05:00
oprofile [PATCH] s390: add oprofile callgraph support 2006-01-06 08:33:50 -08:00
defconfig [PATCH] s390: update default configuration 2006-02-11 21:41:12 -08:00
Kconfig [PATCH] Introduce CONFIG_DEFAULT_MIGRATION_COST 2006-02-17 13:59:26 -08:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00