[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121211.125111.1548335816285987352.davem@davemloft.net>
Date: Tue, 11 Dec 2012 12:51:11 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: gro: dev_gro_receive() cleanup
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 10 Dec 2012 15:28:16 -0800
> From: Eric Dumazet <edumazet@...gle.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@...gle.com>
Applied.
--
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