Files
kernel_arpi/include/linux
Paolo Abeni 3d8417d79e udp: use sk_protocol instead of pcflag to detect udplite sockets
In the udp_sock struct, the 'forward_deficit' and 'pcflag' fields
share the same cacheline. While the first is dirtied by
udp_recvmsg, the latter is read, possibly several times, by the
bottom half processing to discriminate between udp and udplite
sockets.

With this patch, sk->sk_protocol is used to check is the socket is
really an udplite one, avoiding some cache misses per
packet and improving the performance under udp_flood with
small packet up to 10%.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-01 20:11:36 -07:00
..
2017-03-07 14:30:38 +01:00
2017-02-10 15:52:24 -05:00
2017-03-02 08:56:04 -07:00
2017-04-01 12:45:57 -07:00
2017-02-24 17:46:55 -08:00
2017-02-04 00:47:59 +01:00
2017-02-27 10:07:47 -08:00
2017-02-11 20:59:41 -05:00
2017-02-01 09:13:45 +01:00
2017-02-24 17:46:57 -08:00
2017-03-02 08:56:04 -07:00
2017-02-13 21:44:09 -05:00
2017-02-27 18:43:46 -08:00
2017-03-22 12:15:15 -07:00
2017-02-03 11:19:34 -05:00
2017-02-03 10:17:02 +01:00
2017-02-10 16:34:17 +00:00
2017-03-21 14:41:46 -07:00
2017-02-02 15:22:18 -05:00