[PATCH] Use Local Percpu Macros for Local Percpu Variables
commit6d338bb299e65cc7a5d86fce60daa03a81ffb41d
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 27 Jun 2003 02:43:55 +0000 (26 19:43 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 27 Jun 2003 02:43:55 +0000 (26 19:43 -0700)
tree0a55c58ed879bafbfb7d970af40011c226b7108d
parent5e49d31efe65aa18e9643c0174353a3aacc234fa
[PATCH] Use Local Percpu Macros for Local Percpu Variables

In general, it is more better to use get_cpu_var() and __get_cpu_var()
to access per-cpu variables on this CPU than to use smp_processor_id()
and per_cpu().  In the current default implemention they are equivalent,
but on IA64 the former is already faster, and other archs will follow.
fs/buffer.c
kernel/exit.c
kernel/fork.c
kernel/timer.c
mm/page-writeback.c
mm/rmap.c
mm/swap.c
net/ipv4/icmp.c