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

David Howells dhowells at redhat.com
Thu Jul 28 07:12:58 UTC 2016


Steven Rostedt <rostedt at goodmis.org> 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.

Okay, fair enough.

David


More information about the Ksummit-discuss mailing list