]> 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, 3 May 2012 05:43:19 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:15 +0000 (15:46 +1000)
commit6260c3af84f1ac4749999678b416098a3c593f7d
treeaf22253ecf592766086db592d5c44cd4c29957b2
parent47c4f8dff71310cd33fea13602e38ee910941a74
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