Received: by 10.223.185.116 with SMTP id b49csp5446503wrg; Wed, 7 Mar 2018 11:55:14 -0800 (PST) X-Google-Smtp-Source: AG47ELtber2wxhA51/NM/mFk0VCKktQ8JOlfKMeJAUouXHkAsyccnr5xk6wWMbSfb4kbz5+s8Nas X-Received: by 2002:a17:902:b28b:: with SMTP id u11-v6mr21410516plr.146.1520452514545; Wed, 07 Mar 2018 11:55:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520452514; cv=none; d=google.com; s=arc-20160816; b=E1f7abnuGMCNfkodlk9OR6X1pQEX8gQA83xbbs2msn7ed45hYQMHOWng9cgGeEmYUk 27q7JVj2/B6X7+9dY2qYphBnkAPM+jdEnDC1JrNRqhYL08+TifedV+xfAZA/vmpfHw1F kGPAO43aV0NAUBEFEZGL+dtEtxp3sUCdDoYNoM6+JpULcHyB/7zB7ymLtepYi46n824i 9hOMXztKxrkNWw6im45CSwZkx6EuEQh4zl5D8waUrCGTe07HCSR+2LCWZkoXuxz52XWb 4Xlm1xiq1Etd8bGu+mb7NcgCsmtZ0qQV7lQhmjpNghH9SgZY2KkT0Xuq/cArytXNlXZw 18tw== 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=j34lhTM6j0/LHGa/Uh7gO0y95QHMHXoj8VydIAKVW7w=; b=x3qF5nrd6E76qUiPcA9gdiKav4TulIBaLZCGrBLbC9KyNEoNx/X3jU7BXBA18u1CTB LqOHyuS7G7mpzkY5mEUzrQdLjM5c7Hc9FS3z9Cu12HzJPPMFMa83fnYF+wCFZbdhZNwv dWXj+7EJWKIvAHGkCpm72qkMOIJSLTDaqTRDoJ/UpWs5HtZDbogP6q7CgsYjuyCzEFRm F6PxgD9Z1hGSFwqpU30B9owUp55LVnfdT+klaoolJtD+5zEoZc+b+zn78dPiL/XV6uVr kNceH+pqUUY6p6FoSJud9imErSVMUOMrfC+Fqrp2ck442unz9RGgqVWS4mD89u1W1v4O +Y6A== 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 i9si11717424pgp.499.2018.03.07.11.54.59; Wed, 07 Mar 2018 11:55:14 -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 S965791AbeCGTrm (ORCPT + 99 others); Wed, 7 Mar 2018 14:47:42 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:45094 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965758AbeCGTrk (ORCPT ); Wed, 7 Mar 2018 14:47:40 -0500 Received: from localhost (unknown [185.236.200.248]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id AC67310F9; Wed, 7 Mar 2018 19:47: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.14 055/110] doc: Change the min default value of tcp_wmem/tcp_rmem. Date: Wed, 7 Mar 2018 11:38:38 -0800 Message-Id: <20180307191046.687342513@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180307191039.748351103@linuxfoundation.org> References: <20180307191039.748351103@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.14-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.