From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH v9 net-next 5/7] net: simple poll/select low latency socket poll Date: Wed, 05 Jun 2013 07:17:29 -0700 Message-ID: <1370441849.24311.256.camel@edumazet-glaptop> References: <20130605103400.11172.49099.stgit@ladj378.jer.intel.com> <20130605103452.11172.31453.stgit@ladj378.jer.intel.com> <1370439054.24311.248.camel@edumazet-glaptop> <51AF401C.2030506@linux.intel.com> <1370440607.24311.251.camel@edumazet-glaptop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Willem de Bruijn , Don, Or Gerlitz , e1000-devel@lists.sourceforge.net, netdev@vger.kernel.org, HPA , Amir Vadai , Jesse Brandeburg , Eliezer Tamir , linux-kernel@vger.kernel.org, Andi Kleen , Ben Hutchings , Eilon Greenstien , David Miller To: Eliezer Tamir Return-path: In-Reply-To: <1370440607.24311.251.camel@edumazet-glaptop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: e1000-devel-bounces@lists.sourceforge.net List-Id: netdev.vger.kernel.org On Wed, 2013-06-05 at 06:56 -0700, Eric Dumazet wrote: > This looks quite easy, by adding in include/uapi/asm-generic/poll.h > > #define POLL_LL 0x8000 > > And do the sk_poll_ll() call only if flag is set. > > I do not think we have to support select(), as its legacy interface, and > people wanting ll should really use epoll() or poll(). Alternatively, add a per socket flag to enable/disable ll This global enable assumes the application owns the host anyway. ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired