Received: by 10.223.185.116 with SMTP id b49csp5489904wrg; Wed, 7 Mar 2018 12:40:43 -0800 (PST) X-Google-Smtp-Source: AG47ELsT+3cVJKUNxueBrnjHGzFRQK5EPiT+gFeGrn3DUkdrmcLCZ86VFH/Eg8kN/phPng+eCacq X-Received: by 2002:a17:902:6e0f:: with SMTP id u15-v6mr21204978plk.78.1520455242964; Wed, 07 Mar 2018 12:40:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520455242; cv=none; d=google.com; s=arc-20160816; b=WZNwq4fHD9pblID8tDZJRpNzgJ+vJKTglhVzz/KqcO9MfO3vNEzXwAD2ojRtc6Pw5M K+1Y3oSBpZDadImQ3kJHUJurYJgeS8jwczQdHJWmXiB0FZSchv/3CLDFnpjyNxloTA50 Iaqj2ghsHuq/t6SSD8NrlW2mr1d2YeV+g1NID9ovt1lKUITNIIE7rBh5U3ulmg90Fgtx 8k76zUa7YUMIDARrGk+ZvonUzkwGlpQcKg+1ARnN9twWmQ+vw8rGmcnN7Zj5/Ma2vb8U TsRkdK7vUOuZTiOhwWHGR6iYGxr1BXaKCTbGwRl/AwYnph0j+ERrO+ThYk2c8eD+MwJn 6A1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=3FL3MxMzoA9A4gMhi1GHAQ6WzzoBFAA1HY4WQq7XF1w=; b=eXvRgYOY+Y85/gpUcDMkA5AWuU8GI0E/NTE4KwHzPFjX6I2r+o/ley6mL0vPmnFf5c /JJO6SqVV1DcDreLMV2LUQULiEBwDnr04iz+JyY8MD14pBZt6gwLBQYlgfvzxh2b7lpi yeid7MgeIOGFJ5NC2t7TEy4xGL3qWYqox3ae7VGMjfeAxwSWr1Zv6ypEyavIobjFTenp 9kWvgwW9/Mq72VeGh1JTyV1vmBmQD3L5UFOZCNjo0sVn+xz2+i8YM7BTU9CYwfgmd6x+ J4/vdns8FZ82TkwFQo6UrcT/uZQvkzRLF9C/+fVOa/W7RPplL4woVp2cZoEqKFhfm9YA Ablg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11si11864946pgc.671.2018.03.07.12.40.28; Wed, 07 Mar 2018 12:40:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934812AbeCGTlo (ORCPT + 99 others); Wed, 7 Mar 2018 14:41:44 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:41152 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934671AbeCGTlk (ORCPT ); Wed, 7 Mar 2018 14:41:40 -0500 Received: from localhost (unknown [185.236.200.248]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 0F82BFB3; Wed, 7 Mar 2018 19:41:39 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Eric Dumazet , Tonghao Zhang , "David S. Miller" Subject: [PATCH 4.15 060/122] doc: Change the min default value of tcp_wmem/tcp_rmem. Date: Wed, 7 Mar 2018 11:37:52 -0800 Message-Id: <20180307191737.951690072@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180307191729.190879024@linuxfoundation.org> References: <20180307191729.190879024@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Tonghao Zhang [ Upstream commit a61a86f8db92923a2a4c857c49a795bcae754497 ] The SK_MEM_QUANTUM was changed from PAGE_SIZE to 4096. And the tcp_wmem/tcp_rmem min default values are 4096. Fixes: bd68a2a854ad ("net: set SK_MEM_QUANTUM to 4096") Cc: Eric Dumazet Signed-off-by: Tonghao Zhang Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Documentation/networking/ip-sysctl.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt @@ -508,7 +508,7 @@ tcp_rmem - vector of 3 INTEGERs: min, de min: Minimal size of receive buffer used by TCP sockets. It is guaranteed to each TCP socket, even under moderate memory pressure. - Default: 1 page + Default: 4K default: initial size of receive buffer used by TCP sockets. This value overrides net.core.rmem_default used by other protocols. @@ -666,7 +666,7 @@ tcp_window_scaling - BOOLEAN tcp_wmem - vector of 3 INTEGERs: min, default, max min: Amount of memory reserved for send buffers for TCP sockets. Each TCP socket has rights to use it due to fact of its birth. - Default: 1 page + Default: 4K default: initial size of send buffer used by TCP sockets. This value overrides net.core.wmem_default used by other protocols.