Re: [PATCH] lockdep: lockdep_depth vs. debug_locks Re: [2.6.20] BUG: workqueue leaked lock

Jarek Poplawski
2007-03-22T07:08:43Z

On Wed, Mar 21, 2007 at 10:28:02PM -0800, Andrew Morton wrote:
...
> I assume that some codepath is incrementing ->lockdep_depth even when
> debug_locks==0. Isn't that wrong of it?
>

lockdep simply stops to update lockdep_depth just after (during)
a bug or a WARN.

Jarek P.