[Devel] Re: [PATCH 1/2] Uninline the sk_stream_alloc_pskb

Herbert Xu herbert at gondor.apana.org.au
Wed Nov 28 23:45:15 PST 2007


On Mon, Nov 26, 2007 at 08:14:12PM +0300, Pavel Emelyanov wrote:
> This function seems too big for inlining. Indeed, it saves
> half-a-kilo when uninlined:
> 
> add/remove: 1/0 grow/shrink: 0/7 up/down: 195/-719 (-524)
> function                                     old     new   delta
> sk_stream_alloc_pskb                           -     195    +195
> ip_rt_init                                   529     525      -4
> __inet_lookup_listener                       284     274     -10
> tcp_sendmsg                                 2583    2486     -97
> tcp_sendpage                                1449    1305    -144
> tso_fragment                                 417     267    -150
> tcp_fragment                                1149     992    -157
> __tcp_push_pending_frames                   1998    1841    -157
> 
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>

Applied to net-2.6.25.  Thanks Pavel!
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




More information about the Devel mailing list