summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux-foundation.org>2009-10-03 19:48:22 +0900
committerTejun Heo <tj@kernel.org>2009-10-03 19:48:22 +0900
commit30ed1a79f5bf271d33e782afee3323582dcc621e (patch)
tree47a242965c507bf5b27275e97cda38f00e03b0e6 /include
parent7340a0b15280c9d902c7dd0608b8e751b5a7c403 (diff)
downloadop-kernel-dev-30ed1a79f5bf271d33e782afee3323582dcc621e.zip
op-kernel-dev-30ed1a79f5bf271d33e782afee3323582dcc621e.tar.gz
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 <cl@linux-foundation.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud