From patchwork Fri Mar 24 05:22:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186426 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 7220EC6FD20 for ; Fri, 24 Mar 2023 05:24:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 10D096B0074; Fri, 24 Mar 2023 01:24:15 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0BDA56B0081; Fri, 24 Mar 2023 01:24:15 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EC7996B0089; Fri, 24 Mar 2023 01:24:14 -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 DF5EA6B0074 for ; Fri, 24 Mar 2023 01:24:14 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id BCC8E808D9 for ; Fri, 24 Mar 2023 05:24:14 +0000 (UTC) X-FDA: 80602650828.01.C5A09B7 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf30.hostedemail.com (Postfix) with ESMTP id 1353680002 for ; Fri, 24 Mar 2023 05:24:12 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=lQYVNtyW; spf=pass (imf30.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=1679635453; 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=QziR+8VPVg59yWRayV6kTptJb8KdZWHPy6qfnrGFL0w=; b=sXJDEtZ2/KqIrwbORX3+1YhlKlx9gSvl3BPuXr25+f7FGBi+1yVswhhJZVK9B/McjsveGw E2YdUXV8nBf4ptlfh3WDRZHn+aSx1hRoggJlfWXi0VdmkxXEPWi0vTxI+3IMFrp9Ks63pr kScQiaMkLL/jm/9qjHk3npWMANWsTEU= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=lQYVNtyW; spf=pass (imf30.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=1679635453; a=rsa-sha256; cv=none; b=fb0Iv20R4C3oompJuXN7/LEmnC59ukBOPsvUDNGeKzCtABQgwQYin9tY7EvSwT2sLJco3d ZZeq/nz3P/utuf0ETnSeeqwHeu+cy0ZpyuwVUmvHhpHkPIdB2T/0pr60W7QQ9UXYVCF8b6 mHLW280gGzB+tgHEjDf/YZ59vm9jWx0= 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 45FC062955; Fri, 24 Mar 2023 05:24:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7CB7C433A8; Fri, 24 Mar 2023 05:24:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635451; bh=48PfBQrOo+QXja0Ye9RmxtH0qozaHFJkPGyXBVJ0K/k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lQYVNtyW8kXyKp3WvuD38oW21w+WkkH215Y0MiUI49Y8eunz18neW0TYGpXTyqIwC XqFLx8+8KVgwS7YuprL35tsEcnIzjccalORzzxRDu0xqNm8Lg6qUpMBSV+wnqYH+BG 7fVis7yLRCfwYfIGELFjWraVoK1URjTvD6qYpEyDURrJzHfXGxQSmFtgV6lkeLJQj3 r9Q4srnlhyk6xgE8ueeU8JMnkcJholgdIrCRj7ZIMGsnzofOtELVm5WufcrZRRjtXC oymkdt48Gt4cjk9V6imqujHbS0ITqoYxY+5mFS1SktxcncGLDgZMXlKBtZAgEYnZ0y p4y+AlGsBG2aw== 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 11/14] sh: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Fri, 24 Mar 2023 08:22:30 +0300 Message-Id: <20230324052233.2654090-12-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-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 1353680002 X-Rspam-User: X-Stat-Signature: t1j46pgwargod1e59gecwktc83pjk1gt X-HE-Tag: 1679635452-883591 X-HE-Meta: U2FsdGVkX1+81Rr87DaHiUhMU7yi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bIYF1FC06e+GajtN0O8gm+pq04QKkUs1b5r0FAM4Vu8LMlmb/JjJxHkO+phjFkbOzuhdY/mXvDNBcPisKsBHXLu7KI4DY+ShkKtdt8hjBe4qGdCu6//3Vwm8YlOvH9s/vE9EsHwIdAKwY+BQH3WgTNHJLdTwlFLTpWPjOeO+Jyze8nkximu2bof6CGTXDZ65nmrsnAyLQDRf2qLXROzlDH4EU9GdqRjHxFFyIIrF3f21QPgn66D7qKCVCuxqxoI/KF2B59dtj93S/nuGlcKniM3vatfJikvnEKB52HIgB1XvHNRlMiSoC2nOZTjb+DEZ2hzMhZeqQ27OB9y6n+NO7fbi3ZMCNP2mtN0/OcA== 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/sh/mm/Kconfig | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 40271090bd7d..fb15ba1052ba 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig @@ -19,8 +19,7 @@ config PAGE_OFFSET default "0x00000000" config ARCH_FORCE_MAX_ORDER - int "Maximum zone order" - range 8 63 if PAGE_SIZE_16KB + int "Order of maximal physically contiguous allocations" default "8" if PAGE_SIZE_16KB range 6 63 if PAGE_SIZE_64KB default "6" if PAGE_SIZE_64KB @@ -28,16 +27,18 @@ config ARCH_FORCE_MAX_ORDER default "13" if !MMU 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. The page size is not necessarily 4KB. Keep this in mind when choosing a value for this option. + Don't change if unsure. + config MEMORY_START hex "Physical memory start address" default "0x08000000"