diff options
author | Andi Kleen <ak@suse.de> | 2006-06-26 13:59:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 10:48:21 -0700 |
commit | da5311258d2afb96fc592c8b11e818facfa46dc3 (patch) | |
tree | cdd51f187028cb2cd3da716cb7c1b3df88902ed6 /arch/i386/mach-voyager/voyager_basic.c | |
parent | 75bd665cc9f4d0f67164d9145e446ae554d4ed3f (diff) |
[PATCH] x86_64: Fix race in cpu_local_* on preemptible kernels
When a process changes CPUs while doing the non atomic cpu_local_*
operations it might operate on the local_t of a different CPUs.
Fix that by disabling preemption.
Pointed out by Christopher Lameter
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/mach-voyager/voyager_basic.c')
0 files changed, 0 insertions, 0 deletions