Messages in this thread | | | Subject | Re: [PATCH net-next v2 1/2] lockdep: Introduce in_softirq lockdep assert | From | Yunsheng Lin <> | Date | Tue, 24 Nov 2020 18:30:56 +0800 |
| |
On 2020/11/24 16:11, Peter Zijlstra wrote: > On Mon, Nov 23, 2020 at 12:12:59PM -0800, Jakub Kicinski wrote: >> One liner would be: >> >> * Acceptable for protecting per-CPU resources accessed from BH >> >> We can add: >> >> * Much like in_softirq() - semantics are ambiguous, use carefully. * >> >> >> IIUC we basically want to protect the nc array and counter here: > > Works for me, thanks!
Will add the above comment in v3.
Thanks.
> . >
| |