From: Andi Kleen Date: Mon, 26 Jun 2006 11:59:20 +0000 (+0200) Subject: [PATCH] x86_64: Fix race in cpu_local_* on preemptible kernels X-Git-Tag: v2.6.18-rc1~612^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da5311258d2afb96fc592c8b11e818facfa46dc3;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed