From: Christoph Lameter Date: Sat, 3 Oct 2009 10:48:22 +0000 (+0900) Subject: this_cpu: Implement X86 optimized this_cpu operations X-Git-Tag: v2.6.33-rc1~288^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30ed1a79f5bf271d33e782afee3323582dcc621e;p=pandora-kernel.git this_cpu: Implement X86 optimized this_cpu operations Basically the existing percpu ops can be used for this_cpu variants that allow operations also on dynamically allocated percpu data. However, we do not pass a reference to a percpu variable in. Instead a dynamically or statically allocated percpu variable is provided. Preempt, the non preempt and the irqsafe operations generate the same code. It will always be possible to have the requires per cpu atomicness in a single RMW instruction with segment override on x86. 64 bit this_cpu operations are not supported on 32 bit. Signed-off-by: Christoph Lameter Signed-off-by: Tejun Heo --- Reading git-diff-tree failed