diff options
author | Borislav Petkov <bp@amd64.org> | 2010-08-19 20:10:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-26 16:41:38 -0700 |
commit | 0c113009da9fc094747cd3cb8bb2eb47f0c6ada2 (patch) | |
tree | 38f84b0ef395085befd7b5af8394e30df336b643 /net/unix/af_unix.c | |
parent | d2c86fbbf767a5b08f2490333f6883918dd8f1df (diff) |
x86, hotplug: Serialize CPU hotplug to avoid bringup concurrency issues
commit d7c53c9e822a4fefa13a0cae76f3190bfd0d5c11 upstream.
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 ]
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <20100819181029.GC17171@aftab>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions