linux/arch
Borislav Petkov d7c53c9e82 x86, hotplug: Serialize CPU hotplug to avoid bringup concurrency issues
When testing cpu hotplug code on 32-bit we kept hitting the "CPU%d:
Stuck ??" message due to multiple cores concurrently accessing the
cpu_callin_mask, among others.

Since these codepaths are not protected from concurrent access due to
the fact that there's no sane reason for making an already complex
code unnecessarily more complex - we hit the issue only when insanely
switching cores off- and online - serialize hotplugging cores on the
sysfs level and be done with it.

[ v2.1: fix !HOTPLUG_CPU build ]

Cc: <stable@kernel.org>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <20100819181029.GC17171@aftab>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-08-19 14:47:43 -07:00
..
alpha defconfig reduction 2010-08-14 22:26:53 +02:00
arm Merge git://git.infradead.org/mtd-2.6 2010-08-15 17:32:47 -07:00
avr32 defconfig reduction 2010-08-14 22:26:53 +02:00
blackfin Merge git://git.infradead.org/mtd-2.6 2010-08-15 17:32:47 -07:00
cris defconfig reduction 2010-08-14 22:26:53 +02:00
frv defconfig reduction 2010-08-14 22:26:53 +02:00
h8300 defconfig reduction 2010-08-14 22:26:53 +02:00
ia64 defconfig reduction 2010-08-14 22:26:53 +02:00
m32r defconfig reduction 2010-08-14 22:26:53 +02:00
m68k defconfig reduction 2010-08-14 22:26:53 +02:00
m68knommu defconfig reduction 2010-08-14 22:26:53 +02:00
microblaze defconfig reduction 2010-08-14 22:26:53 +02:00
mips Merge git://git.infradead.org/mtd-2.6 2010-08-15 17:32:47 -07:00
mn10300 defconfig reduction 2010-08-14 22:26:53 +02:00
parisc defconfig reduction 2010-08-14 22:26:53 +02:00
powerpc archs: replace unifdef-y with header-y 2010-08-14 22:26:51 +02:00
s390 defconfig reduction 2010-08-14 22:26:53 +02:00
score defconfig reduction 2010-08-14 22:26:53 +02:00
sh defconfig reduction 2010-08-14 22:26:53 +02:00
sparc defconfig reduction 2010-08-14 22:26:53 +02:00
tile Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2010-08-15 17:31:43 -07:00
um Mark arguments to certain syscalls as being const 2010-08-13 16:53:13 -07:00
x86 x86, hotplug: Serialize CPU hotplug to avoid bringup concurrency issues 2010-08-19 14:47:43 -07:00
xtensa Mark arguments to certain syscalls as being const 2010-08-13 16:53:13 -07:00
.gitignore
Kconfig Merge branch 'perf/nmi' into perf/core 2010-08-05 08:45:05 +02:00