Re: POLLRDONCE optimisation for epoll users (was: epoll and half

Davide Libenzi (
Sun, 13 Jul 2003 20:02:50 -0700 (PDT)

On Mon, 14 Jul 2003, Jamie Lokier wrote:

> Davide Libenzi wrote:
> > Where this will break by using a POLLRDHUP ?
> It will break if
> (a) fd isn't a socket
> (b) fd isn't a TCP socket
> (c) kernel version <= 2.5.75
> (d) SO_RCVLOWAT < s
> (e) there is urgent data with OOBINLINE (I think)

Jamie, did you smoke that stuff again ? :)
With Eric patch in the proper places it is just fine. You just make
f_op->poll() to report the extra flag other that POLLIN. What's the problem ?

- Davide

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at