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: <e2e108260804290616l489ac8c2udcb2e80fc268b72b@mail.gmail.com>
Date:	Tue, 29 Apr 2008 15:16:52 +0200
From:	"Bart Van Assche" <bart.vanassche@...il.com>
To:	ego@...ibm.com
Cc:	linux-kernel@...r.kernel.org,
	"Zdenek Kabelac" <zdenek.kabelac@...il.com>,
	"Peter Zijlstra" <a.p.zijlstra@...llo.nl>,
	"Oleg Nesterov" <oleg@...sign.ru>,
	"Heiko Carstens" <heiko.carstens@...ibm.com>,
	"Rafael J. Wysocki" <rjw@...k.pl>,
	"Andrew Morton" <akpm@...ux-foundation.org>,
	"Ingo Molnar" <mingo@...e.hu>,
	"Srivatsa Vaddagiri" <vatsa@...ibm.com>
Subject: Re: [PATCH 1/8] lockdep: fix recursive read lock validation

On Tue, Apr 29, 2008 at 2:57 PM, Gautham R Shenoy <ego@...ibm.com> wrote:
> Subject: lockdep: fix recursive read lock validation
>  This means that the following sequence is now invalid, whereas previously
>  it was considered valid:
>
>   rlock(a); rlock(b); runlock(b); runlock(a)
>   rlock(b); rlock(a);

Why are you marking this sequence as invalid ? Although it can be
debated whether it is good programming practice to be inconsistent
about the order of read-locking, the above sequence can't be involved
in a deadlock.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ