Re: MAX_LOCKDEP_SUBCLASSES too low in 2.6.23-rc7-mm1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Peter Zijlstra ([email protected]) wrote:
> On Mon, 24 Sep 2007 12:03:58 -0400 Mathieu Desnoyers
> <[email protected]> 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);
> > 		                                   ^^^^
> > 

How could the Ultimate Answer be wrong ? ;)

Cheers,

Mathieu

> > What the heck is going on? Given that MAX_LOCKDEP_SUBCLASSES is only 8,
> > this reliably turns off lockdep at boot.

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux