]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86_64: Fix race in TSC synchronization
authorAndi Kleen <ak@suse.de>
Fri, 19 Aug 2005 04:56:40 +0000 (06:56 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 20 Aug 2005 02:18:47 +0000 (19:18 -0700)
commit1eecd73cce4e11ba9d67ad767f92069cfba7b589
treec72bdb38231e163df346ba118af821e4875c95bb
parent5e5ec10499a00bf4ce3440d5a9e1a5a176c5a640
[PATCH] x86_64: Fix race in TSC synchronization

Plug a race in TSC synchronization

We need to do tsc_sync_wait() before the CPU is set online to prevent
multiple CPUs from doing it in parallel - which won't work because TSC
sync has global unprotected state.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/smpboot.c