From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH RFC 5/6] epoll: Add implementation for epoll_mod_wait Date: Fri, 23 Jan 2015 10:56:46 +0100 Message-ID: <54C21ADE.1040605@redhat.com> References: <1421747878-30744-1-git-send-email-famz@redhat.com> <1421747878-30744-6-git-send-email-famz@redhat.com> <54BE4F1D.7090807@gmail.com> <20150121045903.GA2858@fam-t430.nay.redhat.com> <54BF5ACE.6030206@gmail.com> <20150121085827.GB23024@ad.nay.redhat.com> <54BF814F.7090703@redhat.com> <20150121111404.GA3804@ad.nay.redhat.com> <54BF9294.3070902@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Fam Zheng , "Michael Kerrisk (man-pages)" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , X86 ML , Alexander Viro , Andrew Morton , Kees Cook , David Herrmann , Alexei Starovoitov , Miklos Szeredi , David Drysdale , Oleg Nesterov , "David S. Miller" , Vivek Goyal , Mike Frysinger , "Theodore Ts'o" , Heiko Carstens , Rasmus Villemoes , Rashika Kheria , Hugh Dickins Return-path: In-Reply-To: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org 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