diff options
author | Christoph Lameter | 2010-12-06 18:40:03 +0100 |
---|---|---|
committer | Tejun Heo | 2010-12-17 15:18:04 +0100 |
commit | cfb824349556904b319464139be5c75fce983b0d (patch) | |
tree | e0f0094ffc8732457ae1233e5e2890788e3817ff /include/linux/eventfd.h | |
parent | vmstat: Use this_cpu_inc_return for vm statistics (diff) | |
download | kernel-qcow2-linux-cfb824349556904b319464139be5c75fce983b0d.tar.gz kernel-qcow2-linux-cfb824349556904b319464139be5c75fce983b0d.tar.xz kernel-qcow2-linux-cfb824349556904b319464139be5c75fce983b0d.zip |
highmem: Use this_cpu_xx_return() operations
Use this_cpu operations to optimize access primitives for highmem.
The main effect is the avoidance of address calculations through the
use of a segment prefix.
V3->V4
- kmap_atomic_idx: Do not return a value.
- Use __this_cpu_dec without HIGHMEM_DEBUG
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/eventfd.h')
0 files changed, 0 insertions, 0 deletions