[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1321568356.2444.7.camel@edumazet-laptop>
Date: Thu, 17 Nov 2011 23:19:16 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, therbert@...gle.com
Subject: Re: [PATCH v2 net-next] net: use jump_label to shortcut RPS if not
setup
Le jeudi 17 novembre 2011 à 17:04 -0500, David Miller a écrit :
> From: Eric Dumazet <eric.dumazet@...il.com>
> Date: Thu, 17 Nov 2011 22:34:49 +0100
>
> > I wonder if we could use this jump_label infrastructure to shortcut
> > expensive netfilter nf_hook_slow() / nf_iterate on empty
> > tables/chains...
>
> That would be nice, I can't see why it wouldn't be possible.
Almost done :)
Only problem is arch_static_branch() has a "i" (key), so some calls wont
be optimized (hooknum in a variable, not a constant)
for example in nf_ct_frag6_output()
Not a big deal, most calls can be optimized away.
--
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