* Re: [PATCH net-next] netfilter: nf_conntrack.h: use this_cpu_inc()
[not found] <1334723800.2472.88.camel@edumazet-glaptop>
@ 2012-04-19 18:16 ` Pablo Neira Ayuso
0 siblings, 0 replies; only message in thread
From: Pablo Neira Ayuso @ 2012-04-19 18:16 UTC (permalink / raw)
To: Eric Dumazet
Cc: linux-kernel, netdev, Christoph Lameter, Tejun Heo,
Patrick McHardy, Netfilter Development Mailing list
On Wed, Apr 18, 2012 at 06:36:40AM +0200, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@google.com>
>
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-04-19 18:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1334723800.2472.88.camel@edumazet-glaptop>
2012-04-19 18:16 ` [PATCH net-next] netfilter: nf_conntrack.h: use this_cpu_inc() Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).