[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120312105312.665d2362@pyramind.ukuu.org.uk>
Date: Mon, 12 Mar 2012 10:53:12 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Richard Weinberger <richard@....at>
Cc: Jiri Slaby <jslaby@...e.cz>, linux-kernel@...r.kernel.org,
gregkh@...uxfoundation.org, Jiri Slaby <jirislaby@...il.com>
Subject: Re: TTY: tty_port questions
> 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.
Alan
--
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