diff options
author | Andi Kleen | 2006-06-26 13:59:20 +0200 |
---|---|---|
committer | Linus Torvalds | 2006-06-26 19:48:21 +0200 |
commit | da5311258d2afb96fc592c8b11e818facfa46dc3 (patch) | |
tree | cdd51f187028cb2cd3da716cb7c1b3df88902ed6 /include/linux/raid/md_u.h | |
parent | [PATCH] x86_64: Fix fast check in safe_smp_processor_id (diff) | |
download | kernel-qcow2-linux-da5311258d2afb96fc592c8b11e818facfa46dc3.tar.gz kernel-qcow2-linux-da5311258d2afb96fc592c8b11e818facfa46dc3.tar.xz kernel-qcow2-linux-da5311258d2afb96fc592c8b11e818facfa46dc3.zip |
[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 'include/linux/raid/md_u.h')
0 files changed, 0 insertions, 0 deletions