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]
Date:	Mon, 24 Sep 2007 18:37:59 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Cc:	Ingo Molnar <mingo@...hat.com>, akpm@...ux-foundation.org,
	linux-kernel@...r.kernel.org, Dave Hansen <haveblue@...ibm.com>,
	Alexey Dobriyan <adobriyan@...ru>
Subject: Re: MAX_LOCKDEP_SUBCLASSES too low in 2.6.23-rc7-mm1

On Mon, 24 Sep 2007 12:03:58 -0400 Mathieu Desnoyers
<mathieu.desnoyers@...ymtl.ca> wrote:

> Hi Ingo,
> 
> I got the following printk when booting 2.6.23-rc7-mm1 :
> 
> BUG: MAX_LOCKDEP_SUBCLASSES too low!
> turning off the locking correctness validator.
> 
> Is it known/correct situation ?

Known, bug in r/o mounts code:

> static void lock_and_coalesce_cpu_mnt_writer_counts(void)
> {
> 	int cpu;
> 	struct mnt_writer *cpu_writer;
> 
> 	for_each_possible_cpu(cpu) {
> 		cpu_writer = &per_cpu(mnt_writers, cpu);
> 		spin_lock_nested(&cpu_writer->lock, 42);
> 		                                   ^^^^
> 
> What the heck is going on? Given that MAX_LOCKDEP_SUBCLASSES is only 8,
> this reliably turns off lockdep at boot.
-
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