From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next] net: gro: dev_gro_receive() cleanup
Date: Tue, 11 Dec 2012 12:51:11 -0500 (EST) [thread overview]
Message-ID: <20121211.125111.1548335816285987352.davem@davemloft.net> (raw)
In-Reply-To: <1355182096.27891.93.camel@edumazet-glaptop>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Mon, 10 Dec 2012 15:28:16 -0800
> From: Eric Dumazet <edumazet@google.com>
>
> __napi_gro_receive() is inlined from two call sites for no good reason.
>
> Lets move the prep stuff in a function of its own, called only if/when
> needed. This saves 300 bytes on x86 :
>
> # size net/core/dev.o.after net/core/dev.o.before
> text data bss dec hex filename
> 51968 1238 1040 54246 d3e6 net/core/dev.o.before
> 51664 1238 1040 53942 d2b6 net/core/dev.o.after
>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied.
prev parent reply other threads:[~2012-12-11 17:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-10 23:28 [PATCH net-next] net: gro: dev_gro_receive() cleanup Eric Dumazet
2012-12-11 17:51 ` 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=20121211.125111.1548335816285987352.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).