From: Eric Dumazet <eric.duma...@gmail.com>
Date: Mon, 02 May 2016 10:56:27 -0700

> From: Eric Dumazet <eduma...@google.com>
> 
> Hosts sending lot of ACK packets exhibit high sock_wfree() cost
> because of cache line miss to test SOCK_USE_WRITE_QUEUE
> 
> We could move this flag close to sk_wmem_alloc but it is better
> to perform the atomic_sub_and_test() on a clean cache line,
> as it avoid one extra bus transaction.
> 
> skb_orphan_partial() can also have a fast track for packets that either
> are TCP acks, or already went through another skb_orphan_partial()
> 
> Signed-off-by: Eric Dumazet <eduma...@google.com>

Applied, thanks.

Reply via email to