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
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to