Re: printk() vs tty_io

From: Alan Cox
Date: Wed Dec 14 2011 - 05:42:53 EST


On Tue, 13 Dec 2011 15:52:35 -0800
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> 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.

Serial console tries to be good as does netconsole. Serial USB console
can't so just does its best.

Not sure about some of the DRM framebuffer ones either.

--
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/