Re: [patch] lock debugging: fix DEBUG_LOCKS_WARN_ON() & debug_locks_silent

From: Matthew Wilcox
Date: Tue Dec 19 2006 - 04:40:38 EST


On Tue, Dec 19, 2006 at 10:31:35AM +0100, Ingo Molnar wrote:
>
> * Jarek Poplawski <jarkao2@xxxxx> wrote:
>
> > > if (unlikely(c)) { \
> > > - if (debug_locks_silent || debug_locks_off()) \
> > > + if (!debug_locks_silent && debug_locks_off()) \
>
> btw., updated patch is below - the right order is to first do
> debug_locks_off(), then debug_locks_silent.

Then how does one re-enable lock debugging after running the locking
testsuite?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/