From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next] tcp: optimize some skb_shinfo(skb) uses
Date: Fri, 06 Dec 2013 12:53:46 -0500 (EST) [thread overview]
Message-ID: <20131206.125346.2255922273599914894.davem@davemloft.net> (raw)
In-Reply-To: <1386311490.30495.243.camel@edumazet-glaptop2.roam.corp.google.com>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Thu, 05 Dec 2013 22:31:30 -0800
> From: Eric Dumazet <edumazet@google.com>
>
> Compiler doesn't know skb_shinfo(skb) pointer is usually constant.
>
> By using a temporary variable, we help generating smaller code.
>
> For example, tcp_init_nondata_skb() is inlined after this patch.
>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied.
prev parent reply other threads:[~2013-12-06 17:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-06 6:31 [PATCH net-next] tcp: optimize some skb_shinfo(skb) uses Eric Dumazet
2013-12-06 17:53 ` David Miller [this message]
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=20131206.125346.2255922273599914894.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).