[Devel] [PATCH rh7] tty: Fix task hang if one of peers is sitting in read

Cyrill Gorcunov gorcunov at virtuozzo.com
Fri Jan 29 03:11:05 PST 2016


On Fri, Jan 29, 2016 at 01:15:07PM +0300, Vladimir Davydov wrote:
> 
> Yeah, but in vanilla kernel, they changed locking order in tty_set_ldisc
> either, while you didn't. I guess you should backport one more commit:
> 
> commit c8483bc9deff9bf9118aaab2e840b973b75cac3e
> Author: Peter Hurley <peter at hurleysoftware.com>
> Date:   Wed Nov 5 12:12:45 2014 -0500
> 
>     tty: Invert tty_lock/ldisc_sem lock order

Seems so, thank! Will do on top (need some time to
make sure if we really need it).

	Cyrill


More information about the Devel mailing list