Re: TTY: tty_port questions

From: Alan Cox
Date: Mon Mar 12 2012 - 07:46:35 EST


On Mon, 12 Mar 2012 12:15:32 +0100
Richard Weinberger <richard@xxxxxx> wrote:

> On 12.03.2012 11:53, Alan Cox wrote:
> >> Another question, what is the purpose of tty_port->console?
> >> It seems to have no user.
> >
> > So the tty_port layer can in future know about whether it is a console
> > without a tty necessarily being present or referenceable.
> >
> >> Is tty_port really the right thing for a console driver like in the UML
> >> case?
> >
> > It will be. In order to fix the tty locking mess we need to shove a lot
> > of stuff whose lifetime is the lifetime of the physical port somewhere
> > else - the tty_port is that structure.
> >
>
> "It will be" in terms of "not now"? ;-)

As in, it's the very next step on.

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