Re: [PATCH net-next v3 1/2] lockdep: Introduce in_softirq lockdep assert

2020-11-25 Thread Jakub Kicinski
On Tue, 24 Nov 2020 18:49:28 +0800 Yunsheng Lin wrote: > The current semantic for napi_consume_skb() is that caller need > to provide non-zero budget when calling from NAPI context, and > breaking this semantic will cause hard to debug problem, because > _kfree_skb_defer() need to run in atomic con

[PATCH net-next v3 1/2] lockdep: Introduce in_softirq lockdep assert

2020-11-24 Thread Yunsheng Lin
The current semantic for napi_consume_skb() is that caller need to provide non-zero budget when calling from NAPI context, and breaking this semantic will cause hard to debug problem, because _kfree_skb_defer() need to run in atomic context in order to push the skb to the particular cpu' napi_alloc