From: Eric Dumazet Date: Mon, 22 Sep 2014 23:29:32 +0000 (-0700) Subject: net: introduce __skb_header_release() X-Git-Tag: fixes-against-v3.18-rc2~144^2~142 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4a775d14489a801a5b8b0540e23ab82e2703091;p=pandora-kernel.git net: introduce __skb_header_release() While profiling TCP stack, I noticed one useless atomic operation in tcp_sendmsg(), caused by skb_header_release(). It turns out all current skb_header_release() users have a fresh skb, that no other user can see, so we can avoid one atomic operation. Introduce __skb_header_release() to clearly document this. This gave me a 1.5 % improvement on TCP_RR workload. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed