Re: [PATCH RFC 5/6] epoll: Add implementation for epoll_mod_wait

From: Paolo Bonzini
Date: Fri Jan 23 2015 - 04:58:11 EST




On 22/01/2015 22:12, Andy Lutomirski wrote:
> In my application, the set of fds almost never changes, but the set of
> events I want changes all the time. The main thing that changes is
> whether I care about EPOLLOUT. If I'm ready to send something, then I
> want EPOLLOUT. If I'm not ready, then I don't want EPOLLOUT.

Yes, this is almost always the case unless you use EPOLLET.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/