Re: [PATCH net-next 3/3] udp: try to avoid 2 cache miss on dequeue

2017-06-01 Thread Paolo Abeni
On Wed, 2017-05-31 at 10:04 -0700, Eric Dumazet wrote: > On Mon, 2017-05-29 at 17:27 +0200, Paolo Abeni wrote: > > when udp_recvmsg() is executed, on x86_64 and other archs, most skb > > fields are on cold cachelines. > > If the skb are linear and the kernel don't need to compute the udp > > csum,

Re: [PATCH net-next 3/3] udp: try to avoid 2 cache miss on dequeue

2017-05-31 Thread Eric Dumazet
On Mon, 2017-05-29 at 17:27 +0200, Paolo Abeni wrote: > when udp_recvmsg() is executed, on x86_64 and other archs, most skb > fields are on cold cachelines. > If the skb are linear and the kernel don't need to compute the udp > csum, only a handful of skb fields are required by udp_recvmsg(). > Sin