]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: use this_cpu_xxx replace percpu_xxx funcs
authorAlex Shi <alex.shi@intel.com>
Thu, 12 Apr 2012 22:51:45 +0000 (08:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 17 Apr 2012 03:47:06 +0000 (13:47 +1000)
commit5ef96dfbdf421460a73298fc9c83fa4edc838d7d
tree6da7cc6b825d1c841f3fe493f022cb3abf1682ae
parent1ad709a9213058bc50976e3d8d81f5b8c81a4331
net: use this_cpu_xxx replace percpu_xxx funcs

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 has a bit better
performance since __this_cpu_xxx has no redundant preempt_disable()

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>
net/netfilter/xt_TEE.c
net/socket.c