[Ksummit-discuss] [CORE TOPIC] More useful types in the linux kernel

Steven Rostedt rostedt at goodmis.org
Thu Jul 28 03:40:35 UTC 2016


On Thu, 21 Jul 2016 16:05:25 +0100
David Howells <dhowells at redhat.com> wrote:


>  (2) Differentiate non-BH spinlocks and BH spinlocks by type.
> 
>      It seems like you can't mix BH and non-BH ops on a spinlock without
>      lockdep barking.  If that's the case, let's make this a compile-time
>      check.
> 

Not sure what you mean here. You can use BH spinlocks as non BH
spinlocks while in a BH, or if BH is already disabled, and lockdep will
not complain.

-- Steve


More information about the Ksummit-discuss mailing list