]> 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>
Wed, 25 Apr 2012 01:03:17 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:11 +0000 (15:17 +1000)
commit96a17c51c94119b5a1cf281d3f806e42f011c42b
tree1314afa7555ff81b2b2f8a8c0d2cefddb082d998
parentbdbf0aa8b7a623e1a9d67cadc86862873a022514
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