Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3686630pxt; Tue, 10 Aug 2021 09:04:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwR8ymlbexsFhBx+CpMmKNjg3nJo3gvbSgxZwVOSB+EY+CT9dnRBh/tHd4lYcTUE45++DaU X-Received: by 2002:a17:907:2110:: with SMTP id qn16mr12924919ejb.170.1628611463922; Tue, 10 Aug 2021 09:04:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628611463; cv=none; d=google.com; s=arc-20160816; b=ZnUTR753hsbdOlYRR4PCv8oPzo3e6Q/xSLSIlfYyRScFiRx3qc2HceDR2R+hsveMsc J/zW7fIkpOgul+r7i31d7PJ3qUwvGoQZoQ1iWtmd7r//wd0Rke4lNf/VyleTzdYL1B77 Rqa4B7eWSo34JdNUwIZhWjttL2dKEdD2uAB0NNIUnNKRx77z+XQb9C4gNXBTEqOEjrEA XrmaHfFgYaaq2Jr3HpwE5La/eRIATM9zpbQaroNxATh97rwKbV5bZwv03hQgcw5VYE8Q h17giHnhpZ6gFiv2wBi8G5iZ6XbWXA7ma5GNM6n1vb6tUTBtUbIxUQI8Od6OqkkwwUs/ 1IMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=gxvJrIXCAPVngRCoulL08SruZXEWluc1auUZjvsayVg=; b=Xj3LUxGemFGrcst8nah/5C89oHhrF+4WjSPB6RpnvnawnquGs4Sg2EEUIr+OeqIrAb u/cka001e37pyyMeN/AEURl1sg9m4yzJgivR4EbQDWrV/BMI5xyVPmMFGV2mTv8FEWVy w37gXcpC2xf/M5o/J12EzOAbOTsI9IttrGIXCpRXw0OhzTx8rWAtSKx5x2SNKo6VcufR s3uR2J36oO+AzOAbl9TVty+E+2a2i6HchoB2m4Ii6hC8cHobDC6H8o8UDHfsImwdAFUh j+cSLpQqaouNLZ3WvV5qXwmhriThg9+g8D3dIh8HTBTYqMD88X/4LEYMkBU903gzAg6J maKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RH4ycA5U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si20284738edz.280.2021.08.10.09.03.58; Tue, 10 Aug 2021 09:04:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RH4ycA5U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239415AbhHJJuS (ORCPT + 99 others); Tue, 10 Aug 2021 05:50:18 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:36786 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239313AbhHJJtb (ORCPT ); Tue, 10 Aug 2021 05:49:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628588932; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=gxvJrIXCAPVngRCoulL08SruZXEWluc1auUZjvsayVg=; b=RH4ycA5UirM6jhAQqOVFHGxBnsUxyz24vozH8GdhhNfVj7YXmEhiGl4oaDD6Vhb+PZ6l4M hYIEBvtuG9XOF37Mu6Ar9xUDXeW16TQjo44Yo3HDVGsTTE7LZ+r3FTMCNIZWQuy9TwkyOY LwsAFAaZcHLVa/S2XZXpzbDzA8mWSPI= 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-474-pm95iwqfM_qMasqi8y-IJg-1; Tue, 10 Aug 2021 05:48:51 -0400 X-MC-Unique: pm95iwqfM_qMasqi8y-IJg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 066D939384; Tue, 10 Aug 2021 09:48:50 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (ovpn-12-79.pek2.redhat.com [10.72.12.79]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4FA1610013C1; Tue, 10 Aug 2021 09:48:45 +0000 (UTC) From: Baoquan He To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, akpm@linux-foundation.org, hch@lst.de, robin.murphy@arm.com, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, vbabka@suse.cz, m.szyprowski@samsung.com, rppt@linux.ibm.com, Baoquan He Subject: [RFC PATCH v2 1/5] docs: kernel-parameters: Update to reflect the current default size of atomic pool Date: Tue, 10 Aug 2021 17:48:31 +0800 Message-Id: <20210810094835.13402-2-bhe@redhat.com> In-Reply-To: <20210810094835.13402-1-bhe@redhat.com> References: <20210810094835.13402-1-bhe@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit 1d659236fb43("dma-pool: scale the default DMA coherent pool size with memory capacity"), the default size of atomic pool has been changed to take by scaling with system memory capacity. So update the document in kerenl-parameter.txt accordingly. Signed-off-by: Baoquan He --- Documentation/admin-guide/kernel-parameters.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index bdb22006f713..970ed65db89f 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -653,7 +653,9 @@ coherent_pool=nn[KMG] [ARM,KNL] Sets the size of memory pool for coherent, atomic dma - allocations, by default set to 256K. + allocations. Otherwise the default size will be scaled + with memory capacity, while clamped between 128K and + 1 << (PAGE_SHIFT + MAX_ORDER-1). com20020= [HW,NET] ARCnet - COM20020 chipset Format: -- 2.17.2