Home
last modified time | relevance | path

Searched hist:f4a775d14489a801a5b8b0540e23ab82e2703091 (Results 1 – 4 of 4) sorted by relevance

/linux/net/ipv4/
H A Dtcp_output.cdiff f4a775d14489a801a5b8b0540e23ab82e2703091 Tue Sep 23 01:29:32 CEST 2014 Eric Dumazet <edumazet@google.com> 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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dtcp.cdiff f4a775d14489a801a5b8b0540e23ab82e2703091 Tue Sep 23 01:29:32 CEST 2014 Eric Dumazet <edumazet@google.com> 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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/linux/include/linux/
H A Dskbuff.hdiff f4a775d14489a801a5b8b0540e23ab82e2703091 Tue Sep 23 01:29:32 CEST 2014 Eric Dumazet <edumazet@google.com> 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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/linux/net/core/
H A Dskbuff.cdiff f4a775d14489a801a5b8b0540e23ab82e2703091 Tue Sep 23 01:29:32 CEST 2014 Eric Dumazet <edumazet@google.com> 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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>