RE: [PATCH] [2.5] Non-blocking write can block

From: Linus Torvalds (
Date: Wed Jun 04 2003 - 14:20:52 EST

On Wed, 4 Jun 2003, Hua Zhong wrote:
> That said, the main problem was somebody could be stuck in waiting for
> tty *forever* and thus everyone who tries to write also hangs.
> This particular patch is in 2.4.20 already. There is another patch in
> 2.4.20 (?) which seems to fix the "main problem" (the n_tty_write_wakeup
> function in n_tty.c), but I didn't verify it.

Do y ou have that other patch handy? It sounds like that is the real cause
of the problem, and the patch quoted originally in this thread was a
(broken) work-around..


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:24 EST