Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754766Ab0BLLTg (ORCPT ); Fri, 12 Feb 2010 06:19:36 -0500 Received: from mail-iw0-f201.google.com ([209.85.223.201]:58540 "EHLO mail-iw0-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754724Ab0BLLTe (ORCPT ); Fri, 12 Feb 2010 06:19:34 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=bpwdGVAfAWnSW0RFmpD0IKKcmuS5cNcIollgLR7tqVTjKUHr0yxOvrzD0oLOMTfU84 GzlZlk4gRbcVLKmNftvcVXzyXyM9lCDlsPtPbHx8RNdsS+FtKV9dxtewpFJn3mCX5GOH 3E/d3RDlSYaTVK6Dj4Dn+XSKjkWXtdt//ajJM= Message-ID: <4B753943.2080800@gmail.com> Date: Fri, 12 Feb 2010 06:19:31 -0500 From: William Allen Simpson User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Andreas Petlund CC: "netdev@vger.kernel.org" , =?UTF-8?B?SWxwbyBK?= =?UTF-8?B?w6RydmluZW4=?= , Eric Dumazet , Arnd Hannemann , LKML , shemminger@vyatta.com, David Miller , damian@tvk.rwth-aachen.de Subject: Re: [net-next PATCH v3 3/3] net: TCP thin dupack References: <4B73F31F.9000204@simula.no> In-Reply-To: <4B73F31F.9000204@simula.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1196 Lines: 33 Last year, I'm pretty sure I was on record as thinking this is *not* a good idea. But at least it now requires a sysctl to turn on, and should default to off. Also that naming was a bit dicey. Now the names are more descriptive, but the "force" is a bit overkill. How about: NET_TCP_FORCE_THIN_LINEAR_DUPACK -> NET_TCP_THIN_LINEAR_DUPACK tcp_force_thin_dupack -> tcp_thin_linear_dupack sysctl_tcp_force_thin_dupack -> sysctl_tcp_thin_linear_dupack Andreas Petlund wrote: > diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c > index 28e0296..c5a73ab 100644 > --- a/net/ipv4/tcp_input.c > +++ b/net/ipv4/tcp_input.c > @@ -89,6 +89,8 @@ int sysctl_tcp_frto __read_mostly = 2; > int sysctl_tcp_frto_response __read_mostly; > int sysctl_tcp_nometrics_save __read_mostly; > > +int sysctl_tcp_force_thin_dupack __read_mostly; > + > int sysctl_tcp_moderate_rcvbuf __read_mostly = 1; Where is the sysctl initialized? -- 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/