Re: printk() vs tty_io
From: Linus Torvalds
Date: Tue Dec 13 2011 - 18:52:57 EST
On Tue, Dec 13, 2011 at 11:33 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> I've been poking at reducing the constraints on printk(), like make it
> work under rq->lock etc..
You aren't supposed register a console that wakes things up. But the
only console that honors that afaik is the traditional vt console.
*Maybe* the network console, I didn't check.
I *assume* you only get this lockdep warning if you have a serial console?
Linus
--
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/