diff options
author | Alex Shi <alex.shi@intel.com> | 2012-05-14 14:15:31 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-05-14 14:15:31 -0700 |
commit | 19e8d69c543f8f62050099892b138e981db952cc (patch) | |
tree | d528c64fbf333dccedac785eeebed3adccf5a153 /include | |
parent | 9ff00d58a915b6747ba2e843ab2d04c712b4dc32 (diff) |
net: replace percpu_xxx funcs with this_cpu_xxx or __this_cpu_xxx
percpu_xxx funcs are duplicated with this_cpu_xxx funcs, so replace
them for further code clean up.
And in preempt safe scenario, __this_cpu_xxx funcs may has a bit
better performance since __this_cpu_xxx has no redundant
preempt_enable/preempt_disable on some architectures.
Signed-off-by: Alex Shi <alex.shi@intel.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions