[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1328548706.2200.17.camel@gandalf.stny.rr.com>
Date: Mon, 06 Feb 2012 12:18:26 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Neil Horman <nhorman@...driver.com>,
"Frank Ch. Eigler" <fche@...hat.com>,
Hagen Paul Pfeifer <hagen@...u.net>,
"Frank Ch. Eigler" <fche@...stic.org>,
Satoru Moriya <satoru.moriya@....com>,
David Miller <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"tgraf@...radead.org" <tgraf@...radead.org>,
"stephen.hemminger@...tta.com" <stephen.hemminger@...tta.com>,
Seiji Aguchi <seiji.aguchi@....com>, fche@...rceware.org,
mathieu.desnoyers@...ymtl.ca
Subject: Re: [PATCH v2 0/2] Tracepoint for tcp retransmission
On Mon, 2012-02-06 at 18:02 +0100, Eric Dumazet wrote:
>
> > I haven't looked at the details here, but I'm wondering if netfilter
> > could benefit from static_branch() calls (aka jump-labels). I'm sure
> > selinux could too. Basically, when netfilter is disabled, the fast path
> > would just include a nop, with no if() branch testing at all. When you
> > enable netfilters, it would then add a jmp to the code that actually
> > does the tests.
>
> Hmm... I thought I already did that.
>
> Or maybe I intended so and forgot.
>
> Ah no, its there in commit a2d7ec58ac09
> (netfilter: use jump_label for nf_hooks)
hehe, this shows the fact that "I haven't looked at the details here".
;-)
Great to hear!
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists