Re: [patch 07/61] lock validator: better lock debugging

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

 



* Andrew Morton <[email protected]> wrote:

> > > Either the name of this thing is too generic, or we _make_ it 
> > > generic, in which case it's in the wrong header file.
> > 
> > this op is only intended to be used only by the lock debugging 
> > infrastructure. So it should be renamed - but i fail to find a good 
> > name for it. (it's used quite frequently within the lock debugging 
> > code, at 60+ places) Maybe INTERNAL_WARN_ON()? [that makes it sound 
> > special enough.] DEBUG_LOCKS_WARN_ON() might work too.
> 
> Well it has a debug_locks_off() in there, so DEBUG_LOCKS_WARN_ON() 
> seems right.

done.

	Ingo
-
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