]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
tcp: remove low_latency sysctl
authorFlorian Westphal <fw@strlen.de>
Sun, 30 Jul 2017 01:57:20 +0000 (03:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Jul 2017 21:37:49 +0000 (14:37 -0700)
Was only checked by the removed prequeue code.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
include/net/tcp.h
net/ipv4/sysctl_net_ipv4.c
net/ipv4/tcp_ipv4.c

index f485d553e65c5cf3409636b0815629b68817679f..84c9b8cee780bd219d60a4e65b39634a1913f967 100644 (file)
@@ -353,12 +353,7 @@ tcp_l3mdev_accept - BOOLEAN
        compiled with CONFIG_NET_L3_MASTER_DEV.
 
 tcp_low_latency - BOOLEAN
-       If set, the TCP stack makes decisions that prefer lower
-       latency as opposed to higher throughput.  By default, this
-       option is not set meaning that higher throughput is preferred.
-       An example of an application where this default should be
-       changed would be a Beowulf compute cluster.
-       Default: 0
+       This is a legacy option, it has no effect anymore.
 
 tcp_max_orphans - INTEGER
        Maximal number of TCP sockets not attached to any user file handle,
index 93f115cfc8f83a9969ece16e85ad9e18288578c3..8507c81fb0e937da8d0f26fa4b0fd21876c5cbbd 100644 (file)
@@ -256,7 +256,6 @@ extern int sysctl_tcp_rmem[3];
 extern int sysctl_tcp_app_win;
 extern int sysctl_tcp_adv_win_scale;
 extern int sysctl_tcp_frto;
-extern int sysctl_tcp_low_latency;
 extern int sysctl_tcp_nometrics_save;
 extern int sysctl_tcp_moderate_rcvbuf;
 extern int sysctl_tcp_tso_win_divisor;
index 9bf8097260660e7621ba670d59b9991aa6b146fe..0d3c038d7b0454eb2213ad88eb7ebfe27504b2ee 100644 (file)
@@ -45,6 +45,9 @@ static int tcp_syn_retries_max = MAX_TCP_SYNCNT;
 static int ip_ping_group_range_min[] = { 0, 0 };
 static int ip_ping_group_range_max[] = { GID_T_MAX, GID_T_MAX };
 
+/* obsolete */
+static int sysctl_tcp_low_latency __read_mostly;
+
 /* Update system visible IP port range */
 static void set_local_port_range(struct net *net, int range[2])
 {
index a68eb4577d36504066cb417f4ca6e19814dfc088..9b51663cd5a409ae8c562ea2325498e0df63ea32 100644 (file)
@@ -85,8 +85,6 @@
 #include <crypto/hash.h>
 #include <linux/scatterlist.h>
 
-int sysctl_tcp_low_latency __read_mostly;
-
 #ifdef CONFIG_TCP_MD5SIG
 static int tcp_v4_md5_hash_hdr(char *md5_hash, const struct tcp_md5sig_key *key,
                               __be32 daddr, __be32 saddr, const struct tcphdr *th);