lkml.org 
[lkml]   [2014]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] lockdep: Introduce wait-type checks

* Peter Zijlstra <peterz@infradead.org> wrote:

> > But what I really can't understans is what "check == 0" means? It
> > seems that in fact it can be 1 or 2? Or, iow, "check == 0" is
> > actually equivalent to "check == 1" ?
>
> Hmm indeed, the comment in lockdep.h says 0 means no checks at all,
> but the code doesn't actually appear to work like that. I'm not sure
> it ever did or not, I'd have to go dig through history.
>
> That said, given the current state it certainly looks like we can
> remove the check argument.
>
> Ingo?

Agreed.

Thanks,

Ingo


\
 
 \ /
  Last update: 2014-01-12 11:01    [W:1.922 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site