Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758066Ab3FMOqW (ORCPT ); Thu, 13 Jun 2013 10:46:22 -0400 Received: from mga01.intel.com ([192.55.52.88]:50845 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756383Ab3FMOqU (ORCPT ); Thu, 13 Jun 2013 10:46:20 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,859,1363158000"; d="scan'208";a="352722526" From: Eliezer Tamir Subject: [PATCH v3 net-next 0/4] net: low latency sockets follow ups To: David Miller Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Jesse Brandeburg , Don Skidmore , e1000-devel@lists.sourceforge.net, Willem de Bruijn , Eric Dumazet , 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: Thu, 13 Jun 2013 17:46:13 +0300 Message-ID: <20130613144613.4875.46858.stgit@ladj378.jer.intel.com> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 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 Content-Length: 1306 Lines: 37 David, Here are three clean up patches, plus one that adds a socket option for LLS. Patch 1 converts low latency sockets to sched_clock. Patch 2 removes the config menu for NET_LL_RX_POLL and defaults to y. Patch 3 converts sysctl_net_ll_poll into an unsigned int Patch 4 adds an SO_LL socket option to allow per-socket control of busy polling. I will reply to this thread with a patch to sockperf that enables the socket option. (unchanged from v2) Again, thanks to everyone for their comments. -Eliezer Change log: v3 - Suggested by David Miller and Stephen Hemminger: added a patch to covert from get_cycles() to sched_clock(), remove dependency on X86_TSC. - Suggested by Eric Dumazet: un-exported sysctl_net_ll_poll since for now it's not needed in modules. v2 - added a patch to convert sysctl_net_ll_poll into an unsigned int. - suggested by Eric Dimazet: treat sk_ll_usec as a u_int rather than a u_long. - suggested by Ben Huchings: allow unprivileged user to decrease SO_LL value, correct return value when operation is not allowed. -- 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/