lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2191191.ipEiEk2XX9@bentobox>
Date:	Thu, 29 Mar 2012 12:41 +0200
From:	Sven Eckelmann <sven@...fation.org>
To:	Yong Zhang <yong.zhang0@...il.com>
Cc:	Peter Zijlstra <peterz@...radead.org>,
	Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org,
	simon.wunderlich@...03.tu-chemnitz.de,
	Marek Lindner <lindner_marek@...oo.de>
Subject: Re: Using nested locking for spin_lock_bh

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
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ