[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071129074515.GA30066@gondor.apana.org.au>
Date: Thu, 29 Nov 2007 18:45:15 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Pavel Emelyanov <xemul@...nvz.org>
Cc: Linux Netdev List <netdev@...r.kernel.org>, devel@...nvz.org
Subject: Re: [PATCH 1/2] Uninline the sk_stream_alloc_pskb
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@...nvz.org>
Applied to net-2.6.25. Thanks Pavel!
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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