[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131206.125346.2255922273599914894.davem@davemloft.net>
Date: Fri, 06 Dec 2013 12:53:46 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] tcp: optimize some skb_shinfo(skb) uses
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 05 Dec 2013 22:31:30 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> Compiler doesn't know skb_shinfo(skb) pointer is usually constant.
>
> By using a temporary variable, we help generating smaller code.
>
> For example, tcp_init_nondata_skb() is inlined after this patch.
>
> 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