lkml.org 
[lkml]   [2012]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Using nested locking for spin_lock_bh
Date
On Thursday, March 29, 2012 11:11:37 AM Yong Zhang wrote:
> On Wed, Mar 28, 2012 at 06:36:39PM +0200, Sven Eckelmann wrote:
> > Hi,
> >
> > I started to run some experimental batman-adv code inside some virtual
> > machines with different debugging functions enabled. One of them was
> > lockdep. There we noticed a false positive for a lock class that is
> > actually used in two different data structures.
>
> Hmm, I think you can initialize the lock class in the two differnent data
> structures with differnt lock_class_key.

Thanks. I think I understand the problem now a little bit better and could
resolve it using lockdep_set_class.

Kind regards,
Sven[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-03-29 12:43    [W:0.073 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site