On 4/4/23 09:49, Bagas Sanjaya wrote:
On Fri, Mar 17, 2023 at 10:24:07AM +0800, juanfengpy@gmail.com wrote:
We have met a hang on pty device, the reader was blocking at epoll on master side, the writer was sleeping at wait_woken inside n_tty_write on slave side, and the write buffer on tty_port was full, we found that the reader and writer would never be woken again and blocked forever.
Where do you find this hanging pty? Seems like the wording makes me confused. Maybe you mean "It is possible to hang pty device. In that case, ..."
Oops, I forgot to Cc: LKML.