Re: [PATCH] thread wakeup fix for 2.4.0-test7

From: kuznet@ms2.inr.ac.ru
Date: Tue Sep 05 2000 - 13:13:13 EST


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 majordomo@vger.kernel.org
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