]> git.baikalelectronics.ru Git - kernel.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)
commita81707017858ef23ad1af86b271580daae97007f
treec72bdb38231e163df346ba118af821e4875c95bb
parent7ec5ddacc12d8d3a93cbff438b32fe45d3d8cb34
[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