diff options
author | Eric Dumazet <edumazet@google.com> | 2012-04-18 06:36:40 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-08 19:36:33 +0200 |
commit | ac3a546ac89fdf3c4b50e40039a5a7f6df4dda72 (patch) | |
tree | 8fbe86f3e2fcd9c2ba23a7cc0832f60240b07658 /Documentation/networking/ip-sysctl.txt | |
parent | netfilter: nf_ct_helper: allow to disable automatic helper assignment (diff) | |
download | linux-ac3a546ac89fdf3c4b50e40039a5a7f6df4dda72.tar.xz linux-ac3a546ac89fdf3c4b50e40039a5a7f6df4dda72.zip |
netfilter: nf_conntrack: use this_cpu_inc()
this_cpu_inc() is IRQ safe and faster than
local_bh_disable()/__this_cpu_inc()/local_bh_enable(), at least on x86.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Patrick McHardy <kaber@trash.net>
Cc: Christoph Lameter <cl@linux.com>
Cc: Tejun Heo <tj@kernel.org>
Reviewed-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Documentation/networking/ip-sysctl.txt')
0 files changed, 0 insertions, 0 deletions