[Devel] [RFC rh7 v5] ve/tty: vt -- Implement per VE support for console and terminals

Cyrill Gorcunov gorcunov at virtuozzo.com
Fri Aug 28 01:19:04 PDT 2015


On Fri, Aug 28, 2015 at 11:12:39AM +0300, Vladimir Davydov wrote:
> > 
> > nb: you know, moving patches from mainline (slave lock) seems
> > to be not that simple, they introduced own new lock class for that.
> > at moment i think how to modify our vtty code without mangling
> > general tty code.
> 
> I'd still suggest moving EXTRA_REF logic to tty_io.c. Yes, it's going to
> hurt a little during rebases, but if we try to keep it in pty.c we will
> implicitly rely on tty_io.c internal logic (locking or ref counting
> rules), which will probably result in failures at runtime, which is much
> worse than failures at build time.

Seems so :/ I didn't find a way to hide all this things solely
inside vtty code.

	Cyrill



More information about the Devel mailing list