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

From: P. Benie (
Date: Wed Jun 04 2003 - 09:58:06 EST

On Wed, 4 Jun 2003, Linus Torvalds wrote:

> No no no, it's wrong.
> If you do something like this, then you also have to teach "select()"
> about this, otherwise you just get busy looping in applications.
> In general, we shouldn't do this, unless somebody can show an application
> where it really matters.

I wrote the patch to solve a real-world problem with wall(1), which
occasionally gets stuck writing to somebody's tty. I think it's reasonable
for wall to assume that non-blocking writes are non-blocking.

I'll think about how to do the patch correctly.


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:23 EST