From patchwork Sat Mar 25 06:08:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13187583 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 78A6FC6FD1F for ; Sat, 25 Mar 2023 06:09:32 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1927E6B007E; Sat, 25 Mar 2023 02:09:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1679D280001; Sat, 25 Mar 2023 02:09:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0563B900005; Sat, 25 Mar 2023 02:09:32 -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 EC9EF6B007E for ; Sat, 25 Mar 2023 02:09:31 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id B71E4160BDE for ; Sat, 25 Mar 2023 06:09:31 +0000 (UTC) X-FDA: 80606393742.05.678501D Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf20.hostedemail.com (Postfix) with ESMTP id 1C5871C000D for ; Sat, 25 Mar 2023 06:09:29 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=SXe80G8K; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf20.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1679724570; 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=yB1dU/Q/zVPPgkQmDtkDaMAtKReC2RuNb8sZXm1KY2A=; b=VhL1mH1R+RjQGssxnzYZsVOqrz64REfQRq3syO/3kioyaKPKnhq8mXKKJUtpi/LX+CH/qQ sd2+6R7g33xNJazPk31o/kIoDSN7SfMIyJhT+3pURbxvHBhoC9AKPMa2wWKftmGEJ0ukdO A3IU9MdnGxIz4Lxi7lF1rUWsj3KEKC8= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=SXe80G8K; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf20.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1679724570; a=rsa-sha256; cv=none; b=NdyrTeCElCzHmrQcmtsIhZsIl6JYHR10ZImQKn99w2FZaS1yA5Xa7djn31N4+lrjZsWx4A BovQYfz8laNx22LCf9+6zpfgKrjc/+z/zjI/GBsZ2C8MWvPATutXwOzpDzOfNw79uF+q1u 8+VnI8f/0kBWXpAmT+Ec7QhJZ/lIEKc= 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 4066260A05; Sat, 25 Mar 2023 06:09:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09077C433EF; Sat, 25 Mar 2023 06:09:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679724568; bh=hj7vE83HssbFqh7ceXf4d8PDT2ibdeflIODgz+GdCho=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SXe80G8K5kFrxjG4CHAB7R5j4HsXAkKtMPBiJa2K7KINUPXIi2Ttz6jVYYud+uQQu Sqk9QUfeacGt5ZgjN99doqzQVrC50C3YuLYQNcpirr0Ia10vnSKBcxUodmHH52wRjn YgaNoaLS/WzDEARfuG9phgmsGvIt528St1Sl/tGvK/A5j/ONumaKl9G/hpq8SZMPd4 tM55ZAcYgEJKLtK8ZxDvTirG9+OhUOJ2sGiPwsl3qPQhNSxborInoPqSn1guhYdrVl uogAfsplBhSxkmeDSpnuy73jioEoJrClCNpR9seAZETVm5kYNiqhYCXq7K8iz0f3D9 rJ2AfmxVuTIig== 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 v3 06/14] m68k: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Sat, 25 Mar 2023 09:08:20 +0300 Message-Id: <20230325060828.2662773-7-rppt@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230325060828.2662773-1-rppt@kernel.org> References: <20230325060828.2662773-1-rppt@kernel.org> MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 1C5871C000D X-Stat-Signature: cmay4ci7b55pergqrtajxs4zxnx8s4rn X-HE-Tag: 1679724569-121320 X-HE-Meta: U2FsdGVkX195fcdFhLffiy7ttd/7U2y+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Z6I0nch8U7K1aw6GEuVtSe7n3iTQTsdtRW4ED0qhEUXbYtlu8XHVvAmB5BDkry1DGD+Hak8kckBRPiDLXXIROZfMhU2UWbwTsG96/81TkVlEQLq8Tk/obkh8bK8Rdf2plpeLUqAMG2kE4khrVLhm8Pf4XMSFki41wSSEkS4SpxHtDyUD+1Jjc4cS+s3tceIXj57SYBoFrNFXgZ2jSIiDfxA5ds37H62CzJ636uucEYnfaDoZHZc7ozgbJOQdJC4b5mGzosyiMELrtoh0q8BbSlcZurW3cfVFcDo7MEkChVynSdJykJAeacOgeoaH7qEoPHTiJm64saKByPOsohKcDQt4ksiKUzr5MzCAq9TA1EdJ/sBoFJcP0pQ2iaqn9haPMxvsKCxyCBCW2hNJAd7+V20UKaG0VG3kE0uuOhLd+yvveVh0E4B3kpU= 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. Acked-by: Kirill A. Shutemov Acked-by: Geert Uytterhoeven Reviewed-by: Zi Yan Signed-off-by: Mike Rapoport (IBM) --- arch/m68k/Kconfig.cpu | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu index c9df6572133f..e530bc8f240f 100644 --- a/arch/m68k/Kconfig.cpu +++ b/arch/m68k/Kconfig.cpu @@ -398,21 +398,23 @@ config SINGLE_MEMORY_CHUNK Say N if not sure. config ARCH_FORCE_MAX_ORDER - int "Maximum zone order" if ADVANCED + int "Order of maximal physically contiguous allocations" if ADVANCED depends on !SINGLE_MEMORY_CHUNK default "10" 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. For systems that have holes in their physical address space this value also defines the minimal size of the hole that allows freeing unused memory map. + Don't change if unsure. + config 060_WRITETHROUGH bool "Use write-through caching for 68060 supervisor accesses" depends on ADVANCED && M68060