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

2017-06-06 Thread Eric Dumazet
On Tue, 2017-06-06 at 16:23 +0200, Paolo Abeni wrote: > 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 de

[PATCH net-next v2 2/3] udp: avoid a cache miss on dequeue

2017-06-06 Thread Paolo Abeni
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