lkml.org 
[lkml]   [2007]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.6.23-rc6 Resending] NETWORKING : Edge Triggered EPOLLOUT events get missed for TCP sockets

--- Davide Libenzi <davidel@xmailserver.org> wrote:

>
> Unfortunately f_op->poll() does not let the caller to specify the events
> it's interested in, that would allow to split send/recevie wait queues and
> better detect read/write cases.
> The detection of a waitqueue_active(->sk_wr_sleep) would work fine in
> detecting is someone is actually waiting for a write, w/out the false
> positives triggered by the read-waiters.
> That would be a very sane thing to do, but would require a big&dumb change
> to all the ->poll around (that could be automated by a script - devices
> not caring about the events hint can just continue to use the single queue
> like they currently do), and a more critical and gradual change of all the
> devices that wants to take advantage of it.
> That way, no more magic bits are needed, and a simple waitqueue_active()
> would tell you if someone is waiting for write-space events.
>

I like this.





___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-21 00:27    [W:0.049 / U:0.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site