From patchwork Thu Mar 23 09:21:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13185334 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 2A0C3C76195 for ; Thu, 23 Mar 2023 09:23:56 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BE2676B0087; Thu, 23 Mar 2023 05:23:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B928B6B0088; Thu, 23 Mar 2023 05:23:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A59FC6B0089; Thu, 23 Mar 2023 05:23:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 9473B6B0087 for ; Thu, 23 Mar 2023 05:23:55 -0400 (EDT) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 638DB4064D for ; Thu, 23 Mar 2023 09:23:55 +0000 (UTC) X-FDA: 80599626030.29.D137486 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf17.hostedemail.com (Postfix) with ESMTP id B8B8A40008 for ; Thu, 23 Mar 2023 09:23:53 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=bXT7tVFQ; spf=pass (imf17.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 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=1679563433; 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=7vJvYqihbaZZxSzTlBL3/w/w4YY5wGGwCSp8sD393ng=; b=kwDj68l79hWXorcfcDx1B+ttFkczjXe23T+GZtWoumcgN1TlIGYlei/OFq+pJpx4GoZ/M7 q6O0dYg9MmoScujXNPRvxxM6T4mMST6A0E5auOILM9dur9Lnj7rah7XTJGDutv8xuSqgHY nr3pV6eZ3Yxyyw8ZIfrzoL5G0aI0pq4= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=bXT7tVFQ; spf=pass (imf17.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 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=1679563433; a=rsa-sha256; cv=none; b=wR9Bgx+LXOMhGkDo9UacnQr8kNOBZB96YQFlfhGKEhAFdPd5MRj7aoZUf/4HueivdMdCw8 6gDcqXJjaVwfT6eaFUXZ48i6o7qqX+eaBKOXTL3uemMqmUfdfJ4dqeV59wlYD6KVdM/MZi 5MMtNlgCq57Lo8dT8ukZ28KBOp6R20s= 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 dfw.source.kernel.org (Postfix) with ESMTPS id E7C0E62567; Thu, 23 Mar 2023 09:23:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57854C433A0; Thu, 23 Mar 2023 09:23:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679563432; bh=h6B+59Tw/wfggMAxASThb2CqM8SDBv67+wW2LDMN9Jw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bXT7tVFQRhfcw151cmushy4biLsPbWo6PzWcZLPclsdZZu0AHI/gHXPCin5Sg9iiA 2jk1L0YVy7Qe/xDRPG5nOHZxPuEwCxatggeE5zw2R5dQXNP451ThM1w/k3c6D25V2O N+fe/J9ocQzrTj5ZRLDbYNoj8L7Fg7BoJUvOHZovfKRiaVzD97DUE5sICsn6MFA/LY pi2Jmg0MAtEvLy9L7TPVXS9dEOiqkceSsUxLk5XOUJZY6EZeficShFvwWbnG3PVgeZ ReZTduniWcIdQc0MmOkZSG5un3YfSersJkiDN7rNBFhp80ssYVvFAzH/URVEBtzC7R bB6ljs+LiityQ== 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 13/14] sparc: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Thu, 23 Mar 2023 11:21:55 +0200 Message-Id: <20230323092156.2545741-14-rppt@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230323092156.2545741-1-rppt@kernel.org> References: <20230323092156.2545741-1-rppt@kernel.org> MIME-Version: 1.0 X-Stat-Signature: cz6fsoi3az4pugu4ot76gnuxc7qc8pqp X-Rspam-User: X-Rspamd-Queue-Id: B8B8A40008 X-Rspamd-Server: rspam06 X-HE-Tag: 1679563433-551427 X-HE-Meta: U2FsdGVkX1/XUECLdv8VWeIp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B4AX20ubgDz266D0F3QsGhlhhv1Pfpz1tyu9+jDviMErbmAHG74zLvxDw8FbXARg/491hJCFGLiQHMaOIvBowTXCI6t021R+ede0mJwW1SOJMXSFKAu78chdKJWNku8FPdWnCZk+PTqnGTjE+IFvpkSsB0m+3+m5izK0zsf8mD/EjdOjjFJcLd16JrNhaw4weEuxO3QcA8QKaP/9wGTxAZ5BupsvheHp0LD1DH92dKtr7Ztl31ya0ZxiPHhB1gH4iGRjseQFYMahiCEgrPjn1FsQ5TK/9nsWXWtgt9/1muDe9ftc/npeYzoHLn4JupUv73Ir4GSKPr+5P2+WbnkFMItKRPLl 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) --- 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"