lkml.org 
[lkml]   [2000]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] thread wakeup fix for 2.4.0-test7
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.052 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site