From patchwork Mon Jan 25 04:32:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 12042897 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF932C433DB for ; Mon, 25 Jan 2021 04:32:18 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8956322B42 for ; Mon, 25 Jan 2021 04:32:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8956322B42 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 0A6828D0003; Sun, 24 Jan 2021 23:32:18 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 058E68D0001; Sun, 24 Jan 2021 23:32:18 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EAF328D0003; Sun, 24 Jan 2021 23:32:17 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0067.hostedemail.com [216.40.44.67]) by kanga.kvack.org (Postfix) with ESMTP id D978F8D0001 for ; Sun, 24 Jan 2021 23:32:17 -0500 (EST) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 9F7AE181AEF2A for ; Mon, 25 Jan 2021 04:32:17 +0000 (UTC) X-FDA: 77743025514.27.crack66_0c0d8f227582 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin27.hostedemail.com (Postfix) with ESMTP id 857E83D663 for ; Mon, 25 Jan 2021 04:32:17 +0000 (UTC) X-HE-Tag: crack66_0c0d8f227582 X-Filterd-Recvd-Size: 3332 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by imf25.hostedemail.com (Postfix) with ESMTP for ; Mon, 25 Jan 2021 04:32:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=S/kBVVvCcc9QWxOPDYj9Agu686Dhc2nXfs4KvSQF5E8=; b=w4IihMtqdxqs/6W4OrsEbGwUC4 9O7Vq2kDXJKepwXHgEwxGpY+Ufw6stiAgibHyZMIVOJ0BEPn9GNLFYTR9BuPuVKXxoELU5+Z/ils2 kqv3NhpqhTkLwAjyqUuaTDK3uNskKNCSEaCdukL5cK0F/rQuiqJoPmeA7G0Iw5umug9vtYpoD4iw/ z25Yb0GylmIIhghr/YEEZTb7bvRW6j5xlJwVisnMJVWKf1yDMpvve6LF+scSkP7Vh1/CYAik9XEhO Qi/8STeWgA5XMT0nLAq5wOORAuTe4Mud7xItIrnGHehwPsOFa+peJY5TonWuNClphIgb+87871CBO 9ZVOo89g==; Received: from [2601:1c0:6280:3f0::7650] (helo=merlin.infradead.org) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1l3tXt-0002Ue-FP; Mon, 25 Jan 2021 04:32:10 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Jonathan Corbet , linux-doc@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Mike Kravetz Subject: [PATCH v2] Documentation/admin-guide: kernel-parameters: update CMA entries Date: Sun, 24 Jan 2021 20:32:02 -0800 Message-Id: <20210125043202.22399-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 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: Add qualifying build option legend [CMA] to kernel boot options that requirce CMA support to be enabled for them to be usable. Also capitalize 'CMA' when it is used as an acronym. Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org Cc: linux-mm@kvack.org Cc: Andrew Morton Cc: Mike Kravetz Acked-by: Mike Kravetz --- v2: rebase & resend Documentation/admin-guide/kernel-parameters.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- linux-next-20210122.orig/Documentation/admin-guide/kernel-parameters.txt +++ linux-next-20210122/Documentation/admin-guide/kernel-parameters.txt @@ -631,7 +631,7 @@ kernel/dma/contiguous.c cma_pernuma=nn[MG] - [ARM64,KNL] + [ARM64,KNL,CMA] Sets the size of kernel per-numa memory area for contiguous memory allocations. A value of 0 disables per-numa CMA altogether. And If this option is not @@ -1556,12 +1556,12 @@ hpet_mmap= [X86, HPET_MMAP] Allow userspace to mmap HPET registers. Default set by CONFIG_HPET_MMAP_DEFAULT. - hugetlb_cma= [HW] The size of a cma area used for allocation + hugetlb_cma= [HW,CMA] The size of a CMA area used for allocation of gigantic hugepages. Format: nn[KMGTPE] - Reserve a cma area of given size and allocate gigantic - hugepages using the cma allocator. If enabled, the + Reserve a CMA area of given size and allocate gigantic + hugepages using the CMA allocator. If enabled, the boot-time allocation of gigantic hugepages is skipped. hugepages= [HW] Number of HugeTLB pages to allocate at boot.