commit | da5311258d2afb96fc592c8b11e818facfa46dc3 | [log] [tgz] |
---|---|---|
author | Andi Kleen <ak@suse.de> | Mon Jun 26 13:59:20 2006 +0200 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Jun 26 10:48:21 2006 -0700 |
tree | cdd51f187028cb2cd3da716cb7c1b3df88902ed6 | |
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>