Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932114Ab3FROfz (ORCPT ); Tue, 18 Jun 2013 10:35:55 -0400 Received: from mail-ee0-f48.google.com ([74.125.83.48]:48750 "EHLO mail-ee0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755159Ab3FROfy (ORCPT ); Tue, 18 Jun 2013 10:35:54 -0400 Message-ID: <1371566148.3252.255.camel@edumazet-glaptop> Subject: Re: [PATCH v2 net-next] net: poll/select low latency socket support From: Eric Dumazet To: Eliezer Tamir Cc: David Miller , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Jesse Brandeburg , Don Skidmore , e1000-devel@lists.sourceforge.net, Willem de Bruijn , Ben Hutchings , Andi Kleen , HPA , Eilon Greenstien , Or Gerlitz , Amir Vadai , Alex Rosenbaum , Avner Ben Hanoch , Or Kehati , sockperf-dev@googlegroups.com, Eliezer Tamir Date: Tue, 18 Jun 2013 07:35:48 -0700 In-Reply-To: <51C05FC1.4000201@linux.intel.com> References: <20130618085759.10941.15811.stgit@ladj378.jer.intel.com> <20130618085810.10941.55039.stgit@ladj378.jer.intel.com> <1371551139.3252.249.camel@edumazet-glaptop> <51C05FC1.4000201@linux.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 639 Lines: 23 On Tue, 2013-06-18 at 16:25 +0300, Eliezer Tamir wrote: > One other thing, > sock_poll() will only ll_poll if the flag was set _and_ the socket has a > none-zero value in sk->sk_ll_usec so you still only poll on sockets > that were enabled for LLS, not on every socket. But sockets are default enabled for LLS. sock_init_data() { ... sk->sk_ll_usec = sysctl_net_ll_poll; ... } -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/