Re: deadlock caused by printk

Peter Zijlstra
2011-03-25T14:48:24Z

On Fri, 2011-03-25 at 22:30 +0800, Ming Lei wrote:
>
> But seems ftrace can't dump out the messages if system hangs,

True.

> so could
> we introduce a smart and simple "printk" which can be used in any
> contexts?

I think you could use early_printk() for that, it doesn't bother with
all the syslog muck.