From patchwork Wed Jun 24 22:12:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Savitz X-Patchwork-Id: 11624423 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E7771913 for ; Wed, 24 Jun 2020 22:12:58 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A6F0B2070A for ; Wed, 24 Jun 2020 22:12:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="DGBwUYy9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A6F0B2070A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A8E6D6B0002; Wed, 24 Jun 2020 18:12:57 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id A3FD06B0003; Wed, 24 Jun 2020 18:12:57 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9063B6B0005; Wed, 24 Jun 2020 18:12:57 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0232.hostedemail.com [216.40.44.232]) by kanga.kvack.org (Postfix) with ESMTP id 798AC6B0002 for ; Wed, 24 Jun 2020 18:12:57 -0400 (EDT) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id F3B97181AC9CC for ; Wed, 24 Jun 2020 22:12:56 +0000 (UTC) X-FDA: 76965506352.07.train46_0e0e74e26e47 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin07.hostedemail.com (Postfix) with ESMTP id C98C31803FD61 for ; Wed, 24 Jun 2020 22:12:56 +0000 (UTC) X-Spam-Summary: 1,0,0,,d41d8cd98f00b204,jsavitz@redhat.com,,RULES_HIT:30054,0,RBL:207.211.31.120:@redhat.com:.lbl8.mailshell.net-66.10.201.10 62.18.0.100;04y8z9arnw5j4kk4ac1boz9wu1h65op5r5q46wbwd8yyn4awijhcwntkb91xbk5.mrcbdibckkoajc3yskiope86udfi95txdweugjhf7fotu1f41mse6h7h8ddzore.k-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:ft,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:23,LUA_SUMMARY:none X-HE-Tag: train46_0e0e74e26e47 X-Filterd-Recvd-Size: 3149 Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by imf04.hostedemail.com (Postfix) with ESMTP for ; Wed, 24 Jun 2020 22:12:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593036775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=0ksvO9ticUJvIkR1i4QO0sQ/GYZlPZO564d2hYgiyFM=; b=DGBwUYy9+n/m/iO8SqyvQ2dRmBRjsmOC38qgw8rT8HcF6PZ563B9Dk+yP5aTxA9/L6U0SO Se4uv/WwrwK8N4QiaAA5nNxLSs0Dr7iAuTSsNGP5+eBCVWXyrKpYre5NAhZhP/qj7T5ivG hdLJvvau+jxMhWQUYc1lmgpYxNMh9Hg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-103-Hv2wShhSMUam2jc56p5bZw-1; Wed, 24 Jun 2020 18:12:53 -0400 X-MC-Unique: Hv2wShhSMUam2jc56p5bZw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8444B1005512; Wed, 24 Jun 2020 22:12:52 +0000 (UTC) Received: from jsavitz.bos.com (ovpn-112-219.rdu2.redhat.com [10.10.112.219]) by smtp.corp.redhat.com (Postfix) with ESMTP id AC95179327; Wed, 24 Jun 2020 22:12:48 +0000 (UTC) From: Joel Savitz To: linux-kernel@vger.kernel.org Cc: Joel Savitz , Andrew Morton , Matthew Wilcox , Rafael Aquini , Fabrizio D'Angelo , linux-mm@kvack.org, trivial@kernel.org Subject: [PATCH] mm/page_alloc: fix documentation error Date: Wed, 24 Jun 2020 18:12:36 -0400 Message-Id: <20200624221236.29560-1-jsavitz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Rspamd-Queue-Id: C98C31803FD61 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Cc: Andrew Morton Cc: Matthew Wilcox Cc: Rafael Aquini Cc: Fabrizio D'Angelo Cc: linux-mm@kvack.org Cc: trivial@kernel.org When I increased the upper bound of the min_free_kbytes value in ee8eb9a5fe863, I forgot to tweak the above comment to reflect the new value. This patch fixes that mistake. Signed-off-by: Joel Savitz --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 48eb0f1410d4..e028b87ce294 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -7832,7 +7832,7 @@ void setup_per_zone_wmarks(void) * Initialise min_free_kbytes. * * For small machines we want it small (128k min). For large machines - * we want it large (64MB max). But it is not linear, because network + * we want it large (256MB max). But it is not linear, because network * bandwidth does not increase linearly with machine size. We use * * min_free_kbytes = 4 * sqrt(lowmem_kbytes), for better accuracy: