Re: deadlock caused by printk

Ming Lei
2011-03-25T14:30:31Z

Hi,

2011/3/25 Peter Zijlstra <peterz@infradead.org>:
>> One thing you could to is use trace_printk() and use ftrace to debug
>> perf.
>
> That should still work.

I will try it, thanks.

But seems ftrace can't dump out the messages if system hangs, so could
we introduce a smart and simple "printk" which can be used in any
contexts?

thanks,
--
Lei Ming