TIOCGWINSZ retuns old pty size after receiving SIGWINCH
Hi Alan,
Could you push a fix for this problem for .27 release? It seems many people encounter this if they compile with PREEMPT enabled and it's quite annoying.
Regards,
Signature · 5 lines
~ Kanru Chen <[email protected]> 'v' http://stu.csie.ncnu.edu.tw/~kanru.96/ // \\ GnuPG-Key ID: 365CC7A2 /( )\ Fingerprint: 3278 DFB4 BB28 6E8C 9E1F 1ECB B1B7 5B5F 365C C7A2 ^`~'^
Quoted 5 lines · On Sun, 5 Oct 2008 19:39:44 +0800 Kanru Chen <[email protected]> wrote:
Hi Alan,
Could you push a fix for this problem for .27 release? It seems many people encounter this if they compile with PREEMPT enabled and it's quite annoying.
The relevant fixes were pushed and are in the current -rc series kernels. The tty mutex now locks the TIOCG/SWINSZ calls using the tty mutex lock of the tty side of tty/pty pairs.
Alan