Eric Dumazet
f4a775d144
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 >
2014-09-26 15:40:06 -04:00
..
2014-08-07 11:44:18 -07:00
2014-07-15 16:27:00 -07:00
2014-07-15 16:12:48 -07:00
2014-08-11 12:16:51 -07:00
2014-07-16 14:09:34 -07:00
2014-09-10 12:40:10 -07:00
2014-04-11 16:15:36 -04:00
2014-08-16 19:19:08 -07:00
2014-09-12 18:34:25 +02:00
2014-09-23 12:09:27 -04:00
2014-07-15 16:27:01 -07:00
2014-05-19 09:38:24 +02:00
2014-09-10 20:08:36 +04:00
2014-09-26 15:40:06 -04:00
2014-07-30 17:21:05 -07:00
2014-07-01 23:46:21 -07:00
2014-08-22 12:23:11 -07:00
2014-08-06 08:06:39 -07:00
2014-09-22 14:41:23 -04:00
2014-09-05 17:47:02 -07:00
2014-07-11 15:04:40 -07:00
2014-09-08 11:14:56 -04:00
2014-09-26 15:40:06 -04:00
2014-09-26 00:22:47 -04:00
2014-05-23 16:28:53 -04:00
2014-08-13 20:05:52 -07:00
2014-09-10 12:40:10 -07:00
2014-07-15 16:27:00 -07:00
2014-09-19 15:57:15 -04:00
2014-09-26 15:39:24 -04:00
2014-09-08 11:14:56 -04:00
2014-09-26 00:22:47 -04:00
2014-09-10 12:46:32 -07:00
2014-08-06 09:38:14 -07:00
2014-08-14 15:13:40 -07:00
2014-07-15 16:12:48 -07:00
2014-08-05 13:18:20 -07:00
2014-09-23 12:09:27 -04:00
2014-09-01 17:39:55 -07:00
2014-07-15 16:12:48 -07:00
2014-06-12 14:27:40 -07:00
2014-09-22 16:02:15 -04:00
2014-09-07 16:07:25 -07:00
2014-09-23 12:09:27 -04:00
2014-09-26 00:26:48 -04:00
2014-09-09 11:27:09 -07:00
2014-08-13 18:13:19 -06:00
2014-09-10 14:00:58 -07:00
2014-06-12 14:27:40 -07:00
2014-05-05 13:13:50 -04:00
2014-09-26 15:39:24 -04:00
2014-04-11 16:15:36 -04:00
2014-09-23 12:09:27 -04:00
2014-07-29 12:20:22 -07:00
2014-07-12 01:53:30 +02:00
2014-07-12 01:53:30 +02:00
2014-09-23 12:09:27 -04:00