diff options
author | Eric Dumazet <edumazet@google.com> | 2012-04-18 00:36:40 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-08 13:36:33 -0400 |
commit | ac3a546ac89fdf3c4b50e40039a5a7f6df4dda72 (patch) | |
tree | 8fbe86f3e2fcd9c2ba23a7cc0832f60240b07658 /Documentation/networking | |
parent | a9006892643a8f4e885b692de0708bcb35a7d530 (diff) |
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')
0 files changed, 0 insertions, 0 deletions