From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754749AbbAWJ6D (ORCPT ); Fri, 23 Jan 2015 04:58:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36673 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753356AbbAWJ56 (ORCPT ); Fri, 23 Jan 2015 04:57:58 -0500 Message-ID: <54C21ADE.1040605@redhat.com> Date: Fri, 23 Jan 2015 10:56:46 +0100 From: Paolo Bonzini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Andy Lutomirski CC: Fam Zheng , "Michael Kerrisk (man-pages)" , "linux-kernel@vger.kernel.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 , Mathieu Desnoyers , Peter Zijlstra , Linux FS Devel , Linux API , Josh Triplett Subject: Re: [PATCH RFC 5/6] epoll: Add implementation for epoll_mod_wait 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> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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 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 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 Return-path: In-Reply-To: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andy Lutomirski 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 List-Id: linux-api@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