aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2010-12-18 15:30:05 +0000
committerTejun Heo <[email protected]>2010-12-30 11:22:03 +0000
commit7b543a5334ff4ea2e3ad3b777fc23cdb8072a988 (patch)
tree8fbdf5275411190f78f3bdee3c40e87285bf8e30 /security/selinux/hooks.c
parentx86: Use this_cpu_ops to optimize code (diff)
downloadkernel-7b543a5334ff4ea2e3ad3b777fc23cdb8072a988.tar.gz
kernel-7b543a5334ff4ea2e3ad3b777fc23cdb8072a988.zip
x86: Replace uses of current_cpu_data with this_cpu ops
Replace all uses of current_cpu_data with this_cpu operations on the per cpu structure cpu_info. The scala accesses are replaced with the matching this_cpu ops which results in smaller and more efficient code. In the long run, it might be a good idea to remove cpu_data() macro too and use per_cpu macro directly. tj: updated description Cc: Yinghai Lu <[email protected]> Cc: Ingo Molnar <[email protected]> Acked-by: H. Peter Anvin <[email protected]> Acked-by: Tejun Heo <[email protected]> Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions