Hello!
> 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)
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/