summaryrefslogtreecommitdiff
path: root/mm/percpu.c
diff options
context:
space:
mode:
authorBrian Gerst <brgerst@gmail.com>2010-09-09 18:17:26 +0200
committerTejun Heo <tj@kernel.org>2010-09-10 10:56:51 +0200
commit677243d7494d09bfa782425f063a6013de53c35b (patch)
tree5126d575a6097d0038a893119d05057a22bf03e6 /mm/percpu.c
parentdb7829c6cc32f3c0c9a324118d743acb1abff081 (diff)
downloadlwn-677243d7494d09bfa782425f063a6013de53c35b.tar.gz
lwn-677243d7494d09bfa782425f063a6013de53c35b.zip
percpu: Optimize __get_cpu_var()
Redefine __get_cpu_var() using this_cpu_ptr() which can be arch-optimized. Signed-off-by: Brian Gerst <brgerst@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions