Re: cosmetic printk() issue with lockdep warning inarch/x86/kernel/alternative.c

From: Ingo Molnar
Date: Fri Jun 29 2012 - 08:58:44 EST



* Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:

> On Wed, 2012-06-27 at 12:49 +0200, Kay Sievers wrote:
> > All we want is a reliable printk
>
> We too, but we define reliable differently. I want printk() to
> dump data ASAP so that it has better chance to get out of the
> system and onto my console in case of a crash. I don't give a
> rats arse about interleaved text, any text is better than no
> text.

I actually *fixed* bugs in the past when I saw interleaved text
printed from multiple CPUs, it told me how narrow and SMP
dependent a particular race/crash was.

So even interleaving, although annoying most of the time, can be
useful in some other places.

Thanks,

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