lkml.org 
[lkml]   [2020]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next v2 1/2] lockdep: Introduce in_softirq lockdep assert
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!

\
 
 \ /
  Last update: 2020-11-24 09:13    [W:0.087 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site