Re: [PATCH net-next] net: sched: remove unnecessay lock protection for skb_bad_txq/gso_skb

From: David Miller
Date: Tue Mar 16 2021 - 17:46:29 EST


From: Yunsheng Lin <linyunsheng@xxxxxxxxxx>
Date: Tue, 16 Mar 2021 10:40:56 +0800

> On 2021/3/16 7:41, David Miller wrote:
>> From: Yunsheng Lin <linyunsheng@xxxxxxxxxx>
>
> At least for the fast path, taking two locks for lockless qdisc hurts
> performance when handling requeued skb, especially if the lockless
> qdisc supports TCQ_F_CAN_BYPASS.

The bad txq and gro skb cases are not "fast path", sorry