Received: by 10.223.148.5 with SMTP id 5csp7901682wrq; Thu, 18 Jan 2018 10:54:00 -0800 (PST) X-Google-Smtp-Source: ACJfBovpN7nz1gs3yneP39Z33syEz8WSOdFr9zLnZVzpwpkJsdRt3vMjazy7921TQMEnyCXRQPyS X-Received: by 10.98.18.10 with SMTP id a10mr12859567pfj.140.1516301640222; Thu, 18 Jan 2018 10:54:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516301640; cv=none; d=google.com; s=arc-20160816; b=pDegRYh8nJNWDj5mcQe4C0ChCmWfmbqs1cNi3foEXGVBvhYMG9HT/2yQlnfmOIywtP O7+wgPWNiTG+YogZElPk/KSpw2sqk96FxPdF9WFv7/QWUXhu1XCAxt9YcN9rFW7eq/V0 ODK3YnUUyvPeldaHcJwFzvPvdtz22HMqUFgK1/mF2ceZ+kUsuHwj4TGSBRvm6945NmhC PPjqRVDQupTfjzc9+7PcJv5FEJBJKA/flHqy6MWSCA+vcIdOgz4mvGUJsVZp9EmWN0+k RuK8jfHHe4fHiysOQXro+v+uQCKEYpHXpz4oXNqTMtXvdLlT/hJlM1oa9LN33Hw78xqm 231A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=TgFPLyJH/R7AdRi6xzkYpKCmYCFafDI3yGN2AtpEb9o=; b=lyoLVfWuf8LUvtXkIV+UhfwGXsDv3J8hG5N16AbL1fiZIYR2q7d9Adkyi473PrYmug 0bupt7QmV59zt+wIWLYDt9RNXyuCKOekUhnjPhDthhai696G9aYS96OsbPVCLqcFHglh vD7wJNsyAUXRKIS8n9pFXATIyTdAjsswmnjEDtkR5hKGuX5DEH85jFxhu7lyrQFgWnM8 kdBFB9QbjCWmx1HfiodxOBTzF/IW+/HFF0jRTkzqUHNibHdEq+s+1YxndkFc28SYLYYq pWRsHkQyDIeZ89XGHNCa0x4zPDjV6P6CmhudVU3lm5CYyd49YzxEry4eCboS+yQTri0R NH9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b73-v6si116813pli.441.2018.01.18.10.53.46; Thu, 18 Jan 2018 10:54:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755775AbeARSxU (ORCPT + 99 others); Thu, 18 Jan 2018 13:53:20 -0500 Received: from verein.lst.de ([213.95.11.211]:35679 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752368AbeARSxS (ORCPT ); Thu, 18 Jan 2018 13:53:18 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 825AF68DB6; Thu, 18 Jan 2018 19:53:16 +0100 (CET) Date: Thu, 18 Jan 2018 19:53:16 +0100 From: Christoph Hellwig To: Colin Walters Cc: Jeff Moyer , Christoph Hellwig , viro@zeniv.linux.org.uk, Avi Kivity , linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: aio poll, io_pgetevents and a new in-kernel poll API V3 Message-ID: <20180118185316.GA28425@lst.de> References: <20180117192742.710-1-hch@lst.de> <1516298147.3100407.1240074768.16816EBE@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1516298147.3100407.1240074768.16816EBE@webmail.messagingengine.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 18, 2018 at 12:55:47PM -0500, Colin Walters wrote: > > FWIW: https://git.gnome.org/browse/glib/commit/?id=3904c8761a60dbadbdfaf98fe23ff19cbdcc4a9a > > Since that a lot of userspace (including NetworkManager) uses eventfd. I haven't > tried this patchset myself but I'd look at what the GLib mainloop is doing. eventfd really isn't the interesting piece, the interesting piece is epoll, especially if used in level triggered mode.