From patchwork Fri Mar 24 05:22:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186428 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E581C6FD20 for ; Fri, 24 Mar 2023 05:24:32 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D1CC56B0089; Fri, 24 Mar 2023 01:24:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CCB816B008A; Fri, 24 Mar 2023 01:24:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B932C6B008C; Fri, 24 Mar 2023 01:24:31 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id AA8496B0089 for ; Fri, 24 Mar 2023 01:24:31 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 84301AB10B for ; Fri, 24 Mar 2023 05:24:31 +0000 (UTC) X-FDA: 80602651542.22.EA23243 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf22.hostedemail.com (Postfix) with ESMTP id B1A07C000F for ; Fri, 24 Mar 2023 05:24:29 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=OaMe0O8Y; spf=pass (imf22.hostedemail.com: domain of rppt@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1679635469; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=as8XGGRYoRm9u5Jes2AlrzCLNt4/BlAu0a9TDmoK8bw=; b=4sTlIYPuZMGn0xS73mGAXgr7oV4lbMpdjTEqxyuDcDxGAmANEYt5HemCDOc4RUORfQIC4Z euFbrV1fcNpibw2ANIYCzOazUVCW/mLVBUUOmOc2SNPafjLaCQxDTxxhZ+RBQ1zdSyrBuk moapnjGdYLqgX7bjmMvQKhVYjyTWYwI= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=OaMe0O8Y; spf=pass (imf22.hostedemail.com: domain of rppt@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1679635469; a=rsa-sha256; cv=none; b=tjTK+tgQwM8vxb01k4lwI6r+nlh8PB+Yy5YIn/BioHP3C9o3VC+5sZRUnoUjMh0wZyFX0K wTSXNSRo+fv0DdxnPk57IR0vENZ6nV+FZ7727MmuPjLAA2kRMQG5uzrrF4sAaxrHKh/JI3 iV043Z4xAXso3ff67Lkd4leAcmtebsk= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A553DB822EC; Fri, 24 Mar 2023 05:24:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DE6FC433EF; Fri, 24 Mar 2023 05:24:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635466; bh=1zRPyaaLaKChlaF3HiLNG8L4a1+H9YMBeM142XTaxBY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OaMe0O8Y/VqFyvv8P3AJ1JWfaNX6fUglLOJcj3uiMUNqxbjm8gr3zQzueLpQbru3k epbhwOHrXR1omZCGUJ46MWgrzi5JVVVUMbEvFwbZBHTNJoP1R3O3Rt357nnca+/Y50 MazCC6m/TE6Wk5itsz2kNTymFFE6Ee7czzfdznGtRIDbRXKkKdT8k8Q69UUznV4zMY kNNQO5IhLe22jyNOezzwMTCICskwDUKeXENIxmLxZ4yPWLQaCW5OKBlzmo+od0rKRh WosyWZZ35ErgkBKSd9iQE6LbvHpmmzi5D05v0zIQAi4gdnhM3ArvsglzNbBv6+vb9z 9Y8re2b10Yv7w== From: Mike Rapoport To: Andrew Morton Cc: Arnd Bergmann , Catalin Marinas , Christophe Leroy , "David S. Miller" , Dinh Nguyen , Geert Uytterhoeven , Guo Ren , John Paul Adrian Glaubitz , "Kirill A. Shutemov" , Max Filippov , Michael Ellerman , Mike Rapoport , Rich Felker , Russell King , Will Deacon , Yoshinori Sato , Zi Yan , linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mm@kvack.org, linux-sh@vger.kernel.org, linux-xtensa@linux-xtensa.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org Subject: [PATCH v2 13/14] sparc: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Fri, 24 Mar 2023 08:22:32 +0300 Message-Id: <20230324052233.2654090-14-rppt@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230324052233.2654090-1-rppt@kernel.org> References: <20230324052233.2654090-1-rppt@kernel.org> MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam03 X-Stat-Signature: u5z7x9hbtmrbpep8u488m3qo7xytwpms X-Rspamd-Queue-Id: B1A07C000F X-HE-Tag: 1679635469-59840 X-HE-Meta: U2FsdGVkX19ryNRrPWCQ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mKauGr/nhWX7w3n4Hs0rA6cmQhpfP87i7hIKhcIjhIWMVClm3iBmlJHzwhaNKdl4OM54FF4mbcsp9ILGJGXY+5QkKHxOLnUDwnKWdeBoFbJHdQumqDvXyWpPudomMx3kUPP3qc1d1IuesIO02olB8taVThSkbuctS+gY7lksJTMpziHVQCferi551FwaVD4USpqU094a7C01KwWex+6gccAuRHRN 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: From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov --- arch/sparc/Kconfig | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index e3242bf5a8df..959e43a1aaca 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -270,15 +270,17 @@ config ARCH_SPARSEMEM_DEFAULT def_bool y if SPARC64 config ARCH_FORCE_MAX_ORDER - int "Maximum zone order" + int "Order of maximal physically contiguous allocations" default "12" help - The kernel memory allocator divides physically contiguous memory - blocks into "zones", where each zone is a power of two number of - pages. This option selects the largest power of two that the kernel - keeps in the memory allocator. If you need to allocate very large - blocks of physically contiguous memory, then you may need to - increase this value. + The kernel page allocator limits the size of maximal physically + contiguous allocations. The limit is called MAX_ORDER and it + defines the maximal power of two of number of pages that can be + allocated as a single contiguous block. This option allows + overriding the default setting when ability to allocate very + large blocks of physically contiguous memory is required. + + Don't change if unsure. if SPARC64 || COMPILE_TEST source "kernel/power/Kconfig"