From: Eric Dumazet <eric.dumazet@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, therbert@google.com
Subject: Re: [PATCH v2 net-next] net: use jump_label to shortcut RPS if not setup
Date: Thu, 17 Nov 2011 23:19:16 +0100 [thread overview]
Message-ID: <1321568356.2444.7.camel@edumazet-laptop> (raw)
In-Reply-To: <20111117.170442.1731100546322591134.davem@davemloft.net>
Le jeudi 17 novembre 2011 à 17:04 -0500, David Miller a écrit :
> From: Eric Dumazet <eric.dumazet@gmail.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.
next prev parent reply other threads:[~2011-11-17 22:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-17 13:13 [PATCH v2 net-next] net: use jump_label to shortcut RPS if not setup Eric Dumazet
2011-11-17 21:34 ` Eric Dumazet
2011-11-17 22:04 ` David Miller
2011-11-17 22:19 ` Eric Dumazet [this message]
2011-11-17 22:06 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1321568356.2444.7.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=therbert@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox