]> 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, 4 Apr 2012 00:08:07 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 11 Apr 2012 04:45:39 +0000 (14:45 +1000)
commit7b72267be4f848fe8466a47c8892ef1fc23d9705
tree8ac58735b3524bd0e8b71cb7f33f987edcc97c17
parentc5e7b35907ad9cb8e504b1ca8682988ac0cd3788
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