> And then it becomes obvious that count is not needed, it is always 1
> or 0; ie. only threads waiting on same fd in same struct files_struct
> must be woken. My patch
The patch is wrong, Paul. It does work with poll(), but it is plain luck.
If poll() were more optimal, it would fail as well.
Actually, you missed that "fdclosed" is already present under
other name, look couple of lines above chunk added to fs/open.c
and you will find it. 8)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:23 EST