summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/process.c
diff options
context:
space:
mode:
authorTejun Heo2010-12-18 16:28:55 +0100
committerTejun Heo2010-12-30 12:20:28 +0100
commit0a3aee0da4402aa19b66e458038533c896fb80c6 (patch)
treeb2c29c0b18218b76cc0e7ed9866a2c12d1e22e3a /arch/x86/kernel/process.c
parentvmstat: User per cpu atomics to avoid interrupt disable / enable (diff)
downloadkernel-qcow2-linux-0a3aee0da4402aa19b66e458038533c896fb80c6.tar.gz
kernel-qcow2-linux-0a3aee0da4402aa19b66e458038533c896fb80c6.tar.xz
kernel-qcow2-linux-0a3aee0da4402aa19b66e458038533c896fb80c6.zip
x86: Use this_cpu_ops to optimize code
Go through x86 code and replace __get_cpu_var and get_cpu_var instances that refer to a scalar and are not used for address determinations. Cc: Yinghai Lu <yinghai@kernel.org> Cc: Ingo Molnar <mingo@elte.hu> Acked-by: Tejun Heo <tj@kernel.org> 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 'arch/x86/kernel/process.c')
0 files changed, 0 insertions, 0 deletions