Re: [PATCH] lockdep: disable lock debugging when kernel statebecomes untrusted

From: Voluspa
Date: Tue Sep 05 2006 - 04:05:04 EST


On Tue, 5 Sep 2006 09:15:01 +0200 Ingo Molnar wrote:
>
> * Andrew Morton wrote:
>
> > That would appear to be a bug. debug_locks_off() is running
> > console_verbose() waaaay after the locking selftest code has
> > completed.
>
> debug_locks_off() should only be used when a real bug is being
> displayed
> - which isnt the case when we call add_taint(). The patch below
> should fix this.

Thanks, it works as advertised.

Mvh
Mats Johannesson
-
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/