OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 1/2] Uninline the sk_stream_alloc_pskb
Re: [PATCH 1/2] Uninline the sk_stream_alloc_pskb [message #23953 is a reply to message #23779] Thu, 29 November 2007 07:45 Go to previous message
Herbert Xu is currently offline  Herbert Xu
Messages: 45
Registered: April 2007
Member
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@openvz.org>

Applied to net-2.6.25.  Thanks Pavel!
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
 
Read Message
Read Message
Previous Topic: [PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [0/10] introduction
Next Topic: [PATCH 2/2] Eliminate unused argument from sk_stream_alloc_pskb
Goto Forum:
  


Current Time: Thu Oct 09 12:14:53 GMT 2025

Total time taken to generate the page: 0.08663 seconds