netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nagendra Tomar <tomer_iisc@yahoo.com>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: netdev@vger.kernel.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	David Miller <davem@davemloft.net>
Subject: Re: [PATCH 2.6.23-rc6 Resending] NETWORKING : Edge Triggered EPOLLOUT events get missed for TCP sockets
Date: Thu, 20 Sep 2007 15:58:57 -0700 (PDT)	[thread overview]
Message-ID: <798693.92196.qm@web53705.mail.re2.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0709201518540.8897@alien.or.mcafeemobile.com>


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


> That's not what POLLOUT means in the Unix meaning. POLLOUT indicates the 
> ability to write, and it is not meant as to signal every time a packet 
> (skb) is sent on the wire (and the buffer released).

Aren't they both the same ? Everytime an incoming ACK frees up a buffer
from the retransmit queue, the writability condition is freshly asserted,
much the same way as the readability condition is asserted everytime a 
new data is queued in the socket receive queue (irrespective of 
whether there was data already waiting to be read in the receive queue).

This difference in meaning of POLLOUT only arises in the ET case, which was
not what traditional Unix poll referred to. 

Since its a new game the rules can be modified (ofcourse based on the 
merits i.e. usability)

Thanx,
Tomar





      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html

  reply	other threads:[~2007-09-20 22:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 22:37 [PATCH 2.6.23-rc6 Resending] NETWORKING : Edge Triggered EPOLLOUT events get missed for TCP sockets Nagendra Tomar
2007-09-19 22:44 ` David Miller
2007-09-19 22:55   ` Nagendra Tomar
2007-09-19 23:10     ` David Miller
2007-09-19 23:32       ` Nagendra Tomar
2007-09-19 23:11   ` Davide Libenzi
2007-09-19 23:50     ` Nagendra Tomar
2007-09-20  5:43       ` Davide Libenzi
2007-09-20  6:11       ` Eric Dumazet
2007-09-20  8:02         ` Nagendra Tomar
2007-09-20 17:56         ` Davide Libenzi
2007-09-20 22:24           ` Nagendra Tomar
2007-09-20 17:42 ` Davide Libenzi
2007-09-20 22:09   ` Nagendra Tomar
2007-09-20 22:37     ` Davide Libenzi
2007-09-20 22:58       ` Nagendra Tomar [this message]
2007-09-21 17:45         ` Davide Libenzi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=798693.92196.qm@web53705.mail.re2.yahoo.com \
    --to=tomer_iisc@yahoo.com \
    --cc=davem@davemloft.net \
    --cc=davidel@xmailserver.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).