login
Header Space

 
 

Re: [PATCH 2.6.23-rc6 Resending] NETWORKING : Edge Triggered EPOLLOUT events get missed for TCP sockets

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nagendra Tomar <tomer_iisc@...>
Cc: <netdev@...>, Linux Kernel Mailing List <linux-kernel@...>, David Miller <davem@...>
Date: Thursday, September 20, 2007 - 1:42 pm

On Wed, 19 Sep 2007, Nagendra Tomar wrote:


Looking back at it, I think the current TCP code is right, once you look 
at the "event" to be a output buffer full->with_space transition.
If you drop an fd inside epoll with EPOLLOUT|EPOLLET and you get an event 
(free space on the output buffer), if you do not consume it (say a 
tcp_sendmsg that re-fill the buffer), you can't see other OUT event 
anymore since they happen on the full->with_space transition.
Yes, I know, the read size (EPOLLIN) works differently and you get an 
event for every packet you receive. And yes, I do not like asymmetric 
things. But that does not make the EPOLLOUT|EPOLLET wrong IMO.



- Davide


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2.6.23-rc6 Resending] NETWORKING : Edge Triggered..., Davide Libenzi, (Thu Sep 20, 1:42 pm)
speck-geostationary