[PATCH] RFC: ARM: Ensure backtraces console printing in sleep mode

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Jun 5 05:35:56 EDT 2012


On Tue, Jun 05, 2012 at 09:28:41AM +0200, Linus Walleij wrote:
> From: Aurelien Gerault <aurelien.gerault-nonst at stericsson.com>
> 
> Ensuring that oops & panic messages/backtraces will be printed
> in console, even if in sleep mode (i.e. when the console is
> locked).
> 
> So, unlock the console before printing.

I don't think this is a good idea - it totally changes the locking, and
probably causes the console lock to become unbalanced, which could be a
problem if the oops was non-fatal to the kernel.

x86 also doesn't play this game either, and we really shouldn't have
different semantics here.



More information about the linux-arm-kernel mailing list