Paolo Abeni
0a463c78d2
udp: avoid a cache miss on dequeue
...
Since UDP no more uses sk->destructor, we can clear completely
the skb head state before enqueuing. Amend and use
skb_release_head_state() for that.
All head states share a single cacheline, which is not
normally used/accesses on dequeue. We can avoid entirely accessing
such cacheline implementing and using in the UDP code a specialized
skb free helper which ignores the skb head state.
This saves a cacheline miss at skb deallocation time.
v1 -> v2:
replaced secpath_reset() with skb_release_head_state()
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-12 10:01:29 -04:00
..
2017-05-19 19:21:29 -04:00
2017-06-04 22:56:55 -04:00
2017-06-04 23:01:47 -04:00
2017-06-04 21:37:18 -04:00
2017-02-04 19:44:22 -05:00
2017-06-09 12:26:07 -04:00
2017-04-19 07:48:57 +02:00
2017-06-04 23:01:47 -04:00
2017-05-30 11:55:31 -04:00
2017-05-30 11:55:32 -04:00
2017-03-10 09:45:09 -08:00
2017-03-16 10:18:34 -07:00
2017-05-30 11:55:32 -04:00
2017-05-30 11:55:32 -04:00
2017-05-21 13:42:36 -04:00
2016-10-20 14:32:22 -04:00
2017-05-26 14:12:49 -04:00
2017-02-09 16:43:45 -05:00
2017-06-04 19:58:35 -04:00
2017-01-13 22:37:16 -05:00
2017-05-08 17:15:13 -07:00
2016-12-29 11:38:31 -05:00
2016-11-03 16:10:26 -04:00
2017-03-22 15:40:45 -07:00
2017-04-21 13:21:31 -04:00
2017-03-24 13:17:07 -07:00
2016-12-24 11:46:01 -08:00
2017-03-09 18:28:42 -08:00
2017-04-30 22:44:04 -04:00
2017-05-30 11:55:32 -04:00
2017-04-21 13:21:31 -04:00
2017-05-08 15:10:31 -04:00
2017-04-06 08:24:51 -07:00
2017-04-21 13:21:31 -04:00
2017-06-08 14:38:59 -04:00
2017-02-16 21:25:49 -05:00
2017-03-10 09:45:09 -08:00
2017-02-28 12:49:36 +01:00
2017-03-24 20:50:28 -07:00
2017-06-08 11:26:19 -04:00
2017-03-24 13:17:07 -07:00
2016-11-03 15:25:26 -04:00
2017-05-04 11:02:46 -04:00
2017-06-01 11:30:41 -04:00
2017-06-08 10:53:29 -04:00
2017-06-08 10:53:29 -04:00
2017-05-17 16:06:01 -04:00
2017-05-17 16:06:01 -04:00
2017-03-02 08:42:27 +01:00
2017-06-02 14:18:13 -04:00
2017-05-17 16:06:01 -04:00
2016-12-06 11:34:24 -05:00
2017-04-24 14:27:17 -04:00
2016-11-21 13:20:17 -05:00
2017-05-17 16:06:01 -04:00
2016-11-21 13:20:17 -05:00
2016-11-21 13:20:17 -05:00
2017-06-08 10:53:29 -04:00
2017-06-08 11:26:19 -04:00
2017-05-17 16:06:01 -04:00
2017-05-17 16:06:01 -04:00
2017-06-08 10:53:28 -04:00
2017-05-21 13:42:36 -04:00
2017-06-08 10:53:29 -04:00
2017-02-21 13:26:03 -05:00
2017-05-17 16:06:01 -04:00
2017-05-17 16:06:01 -04:00
2016-11-21 13:20:17 -05:00
2017-05-24 16:29:57 -04:00
2016-11-21 13:20:17 -05:00
2016-11-21 13:20:17 -05:00
2017-05-17 16:06:01 -04:00
2016-11-21 13:20:17 -05:00
2017-06-08 11:26:19 -04:00
2017-05-18 10:23:33 -04:00
2017-04-24 13:48:54 -04:00
2017-06-12 10:01:29 -04:00
2016-11-24 15:32:14 -05:00
2017-02-15 11:04:11 +01:00
2017-04-14 10:07:39 +02:00
2017-04-14 10:07:39 +02:00
2017-04-14 10:06:10 +02:00
2017-02-09 10:22:19 +01:00
2017-02-09 10:22:17 +01:00
2017-01-10 10:57:12 +01:00