[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110325184158.GE9313@home.goodmis.org>
Date: Fri, 25 Mar 2011 14:41:58 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Ming Lei <tom.leiming@...il.com>, torvalds@...l.org,
Ingo Molnar <mingo@...e.hu>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: deadlock caused by printk
On Fri, Mar 25, 2011 at 03:50:27PM +0100, Peter Zijlstra wrote:
> 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.
Well, matters how the system hangs. Add in a nmi watchdog or other
watchdogs which can also trigger the ftrace_dump_on_oops.
>
> > 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.
>
Heh, I should have read the thread before replying to the first post ;)
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists