From patchwork Fri Mar 24 05:22: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: 13186409 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 8A240C76195 for ; Fri, 24 Mar 2023 05:23:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1F9146B0074; Fri, 24 Mar 2023 01:23:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1AA126B0075; Fri, 24 Mar 2023 01:23:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 070426B0078; Fri, 24 Mar 2023 01:23:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id EC61B6B0074 for ; Fri, 24 Mar 2023 01:23:01 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id C242814088F for ; Fri, 24 Mar 2023 05:23:01 +0000 (UTC) X-FDA: 80602647762.20.EA721B2 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf04.hostedemail.com (Postfix) with ESMTP id 1794440007 for ; Fri, 24 Mar 2023 05:22:59 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=MMLxM8SB; spf=pass (imf04.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=1679635380; 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=NQGnDlDuBcNOurmmiEdrgnfLyHxHctdMPNEQBPy+k0U=; b=LgL6qQHLwy4zQbMwur7+jkTh+cfjG9JeGzDSUdpRsEczdf+FwgRhO6WYYf0ysQkWgbnM6q lkyWBN4ps4BYTEenPSz2/cNkdnVDhdNYxt9y5y6dmSER4uDZdXGnIdYJQFq5IdEWMdR6wx VcjkYH/IXl+QpUczh+iXB1hCB0r5F/8= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=MMLxM8SB; spf=pass (imf04.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=1679635380; a=rsa-sha256; cv=none; b=I5tVbiyyzXQ4GoCgHJxTq4imN+ghW7bDcvImstlqe+NWBhNY4ODycPUNBtva2R1mB2x4Sk Bgb7I7wRDRot9gUyo7r+cGSlAShrRViVxLEju7mAgxu/jRcEdQfJeEO1UArgCHO+jtpjxh Aysvi0N5TYReK4QZA9gA0xKR/wDJs54= 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 1BDCB6292A; Fri, 24 Mar 2023 05:22:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BAECBC433D2; Fri, 24 Mar 2023 05:22:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635378; bh=qIi0d905rrVxCnXjZ9vwyNe5X1lgBVvNa+6iMbheD+I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MMLxM8SBg2LnY33yzgRW64q0ygwSjALTMwxl1A165zPTLTDvPe0BAfBZHPRq5oIsn s1aH3PVmBDS7Ut+GuMVab3n8jniIXZKSGvDb8m0lR0aybVTLTI+od0D2CKutXGwxeb oxjLKC62aMYJEUCMI/wKA+ZSMH5fe0S3rkebKVerZyac6liS+2tnNLRMdqJcxzoKDL rVu88I6wSS9q8OxXzBVCM1+a67qjYj3ibJUlYmI6Sn1a/GmqT/tRik5Vc3hFV3UpAF wLyJjTkqrQbUN8D868PQT9yjfkykNDFbTy/SqmwTohdn6ePxVc1CPHuaZg30Ytfihe VFWpDS+brn3LQ== 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 01/14] arm: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Fri, 24 Mar 2023 08:22:20 +0300 Message-Id: <20230324052233.2654090-2-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-Queue-Id: 1794440007 X-Stat-Signature: 4hyibsmxu8kwg19thgobchmf8k3kc73i X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1679635379-683241 X-HE-Meta: U2FsdGVkX195sIanpwK2EJLUVoVZzC+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uEUwP1cFT4SuXxZNCz6pG1JQoVcr1HIG/njMmH3R9PRX586HL8T1sycPoHoR9h90+VxXDL0slex+TeBMBC70e5YhEtFE1+EoaSdgDF4pg33JtwiOkwAItSyp6vdMPjRxmWBRGLWU/SG3K4VZttc92IAeCE30Ym93dIIK5BmB4wh4B8TimfWDcSkbd4IAkltixC1aowRo+dHibwjgzHdTukCf0HkTorrh2JEkBUpMSx+YaskjIOoI80RuCZnRqv5xcAsVEV2CdSU+4Sh9rhH5jMOAiKzJNGHy/VRVPlEN6fdcpwaaSwQie3sb4AuOY5BhCWIyYn/p16pUaYb+RuknSrlP5MKA4ZQH+ltqDNqaYAIZw9er+DQ== 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/arm/Kconfig | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 929e646e84b9..0b15384c62e6 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1354,17 +1354,19 @@ config ARM_MODULE_PLTS configurations. If unsure, say y. config ARCH_FORCE_MAX_ORDER - int "Maximum zone order" + int "Order of maximal physically contiguous allocations" default "11" if SOC_AM33XX default "8" if SA1111 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. + + Don't change if unsure. config ALIGNMENT_TRAP def_bool CPU_CP15_MMU From patchwork Fri Mar 24 05:22:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186410 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 E8AD6C6FD1C for ; Fri, 24 Mar 2023 05:23:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 357EC6B0075; Fri, 24 Mar 2023 01:23:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 308406B0078; Fri, 24 Mar 2023 01:23:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1D0CB6B007B; Fri, 24 Mar 2023 01:23:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 0FCDF6B0075 for ; Fri, 24 Mar 2023 01:23:09 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id DED66408A6 for ; Fri, 24 Mar 2023 05:23:08 +0000 (UTC) X-FDA: 80602648056.14.4FD9D34 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf17.hostedemail.com (Postfix) with ESMTP id 3FB084000A for ; Fri, 24 Mar 2023 05:23:07 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="GbLy/9J0"; 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=1679635387; 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=8A86cDEE59UHJGK5L7okc0K9nvdFWbXcZiV5H/QWzUg=; b=RfXPGOW6QRufVjITrLIfv9dAd6E1sOz1rOoXRxLbWcl7AV8T25OddaejIVQT6ejZveT+ZL UHZT2Zh3BB3lZonBv7bU9Q+ksk+sxXwUZblzoCN6riRw1y/2nS8NKS43YfvgBwUqRNANRZ UT5+TriI47YEfQGSQ7DzWZSPgsJu6BE= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="GbLy/9J0"; 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=1679635387; a=rsa-sha256; cv=none; b=xFH6I61ybn/klmb2LxhHHXRSsGUgiMmXzpYgGYAr9gew6qBAcjqkT4u3xt5yldL6rFYbwb Ksj86pGCy4pidCG2OjnhSLzHFly2ch7RzWUPL1dLs2naRtG9NJsKyadks7NYzb37dDxesY mNo4O9FWB3tdC382/9nZaq4bzDbKBKA= 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 6ADF662954; Fri, 24 Mar 2023 05:23:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1394BC4339B; Fri, 24 Mar 2023 05:22:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635385; bh=9ATx9vtaxxZ78yfIvd/M2TJNWeGD41Uj539wCBrC8Ps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GbLy/9J0iGr8pROsdzVEGDgszUavDtQ1QhgvcyzqJBfWTWlYAVh4pS+lkSRQI+yiF 2/8Fr6QPnWJMS0ILNRzNCn0eg32Xwj2hgzteehjPgUa6QOtZ9VUDMQSD4mOjShn24P dJVvEm5KIBhsd05g2eFR+KwAGSwBLYzu/vFe0mrSZn3j7VUxcXwIqtbe6X+6w95ff8 QtWIdUH1LnfbU1+deWp70VehsdMSkgTK8N7RkuYuYak8iKr7lfCLXhjJ18DyoiyuhU 9NmDjaUo5hDv9hr8fEuoYbS6U/bVOtaRlU22/AlwnH1UVeVdZUqBI73IlLfSmCEkN7 ZtEiKa7YaBYLQ== 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 02/14] arm64: drop ranges in definition of ARCH_FORCE_MAX_ORDER Date: Fri, 24 Mar 2023 08:22:21 +0300 Message-Id: <20230324052233.2654090-3-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-Queue-Id: 3FB084000A X-Stat-Signature: q8ugpz7wk6kzu43sricxxkw1zrsisoeb X-Rspam-User: X-Rspamd-Server: rspam08 X-H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21uxQuo/XLzi8InOWTx/qREsvquB/OI8cilxBDnxyEPCgSLkVmGC751fUyBjT+tMBL2B11TBqQZtu0eUaN6MVLPbjsradoJ6rAnb+Xt31/8QZP0GxrzA/T7L8ELRirCp6ljrCXa2jYL/kmssBPYTgnyRp4LyUZRUExOZUPsRM6SZ+VEEe7tKPCCTzd9XSJtf//7Usoog99CtuQ3S2E9n/GHeji/kA2CdVJWlx1Ld2uTPYCmcRBm4t0XobyQp60Z78cDHhTVNWc6/nQk7wpPSJWiYE8/CnOA8foQ4mVWYQ8JlLqvq171CmTxi+1qSREvdnk2UUZZIBSKV1vLjKts9MHWLM59DdtZ7C9OzrKz+3w1tt03rXPheKb28HgvVCMtSi2M+QVJo 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)" It is not a good idea to change fundamental parameters of core memory management. Having predefined ranges suggests that the values within those ranges are sensible, but one has to *really* understand implications of changing MAX_ORDER before actually amending it and ranges don't help here. Drop ranges in definition of ARCH_FORCE_MAX_ORDER and make its prompt visible only if EXPERT=y Signed-off-by: Mike Rapoport (IBM) --- arch/arm64/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index e60baf7859d1..7324032af859 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1487,11 +1487,9 @@ config XEN # 16K | 27 | 14 | 13 | 11 | # 64K | 29 | 16 | 13 | 13 | config ARCH_FORCE_MAX_ORDER - int "Maximum zone order" if ARM64_4K_PAGES || ARM64_16K_PAGES + int "Maximum zone order" if EXPERT && (ARM64_4K_PAGES || ARM64_16K_PAGES) default "13" if ARM64_64K_PAGES - range 11 13 if ARM64_16K_PAGES default "11" if ARM64_16K_PAGES - range 10 15 if ARM64_4K_PAGES default "10" help The kernel memory allocator divides physically contiguous memory From patchwork Fri Mar 24 05:22:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186411 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 ACC47C6FD1C for ; Fri, 24 Mar 2023 05:23:17 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 506F96B007B; Fri, 24 Mar 2023 01:23:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4B5456B007D; Fri, 24 Mar 2023 01:23:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 37DE16B007E; Fri, 24 Mar 2023 01:23:17 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 272A46B007B for ; Fri, 24 Mar 2023 01:23:17 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 456DC1608D4 for ; Fri, 24 Mar 2023 05:23:16 +0000 (UTC) X-FDA: 80602648392.19.538B160 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf22.hostedemail.com (Postfix) with ESMTP id 92173C0008 for ; Fri, 24 Mar 2023 05:23:14 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=QKsHTrvo; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf22.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=1679635394; 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=h1fBzFR1C2otn/COmqLryUQJ1nrFXVn/BwszCvhylOw=; b=qub0Iia1ZupQMsKJsNDi9B9XwWy0TTe5lWYfFl4e8cMAEWY4XiPuvhkdfb/MKBYavVJdjF n8avkfrJt4NFVuXJx+UamRQS7Wg8W6AO/E1tvjJ1mfkUoxl3Qs9QQHq8gHh28QucmTJlG/ XM+zsegmQwJAslWBlEpTaXGlbzg7/QA= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=QKsHTrvo; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf22.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=1679635394; a=rsa-sha256; cv=none; b=VgS++kcqOXvb0vG38/lpfFypMuKmAOotD+h4XwQwqTUjTPqqoIbA18CWdG7ykJ6GX4jH8k +P7glZArJiuYAYaze3MXB75JqSQNr7VR8VkEdmNNB7GFgFtETBHiLuioEqIrhalN0ov3dx WJvUz6TGRU+d/nOzkEZ1cE2d811ZjsA= 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 BB29362957; Fri, 24 Mar 2023 05:23:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61994C433A1; Fri, 24 Mar 2023 05:23:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635393; bh=Zfj73O5QmHC9csclCsOEEXs0WRxczZbIru4eG1K3bF4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QKsHTrvoJDstuitb77BIdiwhIP8BnjIaN5EfRgntemImBAB2ZoJrnpLrEccFXRIFT cxArY2y6DiOiABJ3L/i7Xu8XFaoLsX7moofmhfeyBfVo34JiBXOm5jl7XaS0xnssVU 5blXXcAyhof9+c3M9s2cj1NYXPhn1FREYEnY6T8K5AzbNu1aI7sQTJqR78YpvVcUaI 0Rc6KE/ZMV9Ep1Z7hq1bseI4eJyOaUNDDEHJUuWotCorS+yiI8KgE33OzElWYTw94O eah6z/e12f41ZlVpKC9qfzCGl1BSz9jP0V0wGx62Q1Fhm/yf0ocImos9jX9ZryNokf l1gzvZ/IqwUeA== 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 03/14] arm64: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Fri, 24 Mar 2023 08:22:22 +0300 Message-Id: <20230324052233.2654090-4-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-Queue-Id: 92173C0008 X-Rspamd-Server: rspam09 X-Rspam-User: X-Stat-Signature: f8ncax9ybbextrgiwez3gmbd5aricidw X-HE-Tag: 1679635394-342439 X-HE-Meta: U2FsdGVkX19SppQymqZerI9Qy+jWKGlAEZvPGU5A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lC8qtmH2udti6l3IuxOd8MdqQbTAo8o4dGqW1mcVfd1xJrg+ewZXxS57DSEF8n2TGexWlV6T+klzoyDo9irGJReZn8jBdW+dCQwdfyGBC0LOGMy927Dr/CT3Mf5AWKapAH9hJzOyJ1I8ORBGa0blBUTphvmwdqwcvn5Yp/A3Jmo7LgiiiXb57UzCnT9FuiTV+DfAlQ45UNUVNiZkZEl5+UK01A2pU8+JWTxYXc3FsKVdZPCouG5GQDgYf1jODUZ6tR9qjksL/6Pj1fA+BpyhXOGVydcz9A+fX+j5eqxTvTTCTbwSqS3SjgdHw4BJ4PWZL7y5/aZ68o9xTvwMuldUew== 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/arm64/Kconfig | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 7324032af859..cdaf52ac4018 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1487,24 +1487,24 @@ config XEN # 16K | 27 | 14 | 13 | 11 | # 64K | 29 | 16 | 13 | 13 | config ARCH_FORCE_MAX_ORDER - int "Maximum zone order" if EXPERT && (ARM64_4K_PAGES || ARM64_16K_PAGES) + int "Order of maximal physically contiguous allocations" if ARM64_4K_PAGES || ARM64_16K_PAGES default "13" if ARM64_64K_PAGES default "11" if ARM64_16K_PAGES 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. - We make sure that we can allocate up to a HugePage size for each configuration. - Hence we have : - MAX_ORDER = PMD_SHIFT - PAGE_SHIFT => PAGE_SHIFT - 3 + The maximal size of allocation cannot exceed the size of the + section, so the value of MAX_ORDER should satisfy - However for 4K, we choose a higher default value, 10 as opposed to 9, giving us - 4M allocations matching the default size used by generic code. + MAX_ORDER + PAGE_SHIFT <= SECTION_SIZE_BITS + + Don't change if unsure. config UNMAP_KERNEL_AT_EL0 bool "Unmap kernel when running in userspace (aka \"KAISER\")" if EXPERT From patchwork Fri Mar 24 05:22:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186419 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 7CC87C76195 for ; Fri, 24 Mar 2023 05:23:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0715B6B007E; Fri, 24 Mar 2023 01:23:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0219F6B0080; Fri, 24 Mar 2023 01:23:24 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E2BBD6B0081; Fri, 24 Mar 2023 01:23:24 -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 D0D716B007E for ; Fri, 24 Mar 2023 01:23:24 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 8BFDFAAF6D for ; Fri, 24 Mar 2023 05:23:24 +0000 (UTC) X-FDA: 80602648728.19.5A344E7 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf25.hostedemail.com (Postfix) with ESMTP id E18E0A0009 for ; Fri, 24 Mar 2023 05:23:21 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="Mrbi/dJO"; spf=pass (imf25.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=1679635402; a=rsa-sha256; cv=none; b=A2O2FuFbX/ucL0JvNDp/05ain/pgM57U3CvQigAWYUC0Wr0eu2Z3EoxR+ge8dcIFkN0saV d2yY2fwWbAt48csYHM61qt6wK/Q0X2DrsyH4A2zBXgRxQzHBovsuiFVHCrdCCfOhM7YQH7 UCQnI7pPzBQcXHYpQngzvDksV3MBHLk= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="Mrbi/dJO"; spf=pass (imf25.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=1679635402; 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=rwivWt9KIyZ8h3RuJoCnzOJ8yZY7kGNftqDqpFeGGM0=; b=ySKYk6d/jxP2cosj8TbVYyXaP7IADTuTyHNCWGRgYk/WC7vAyePv/AaMVex3otffgeiihg 7AtmJFC3d5Odw31SbxKvjVU0E9Paggg6TWy1q6IsTj2bKcVG9OFA6cM35Tl8d5HlmFJ+X8 HsdDAYGw7uu55shAEzVxx7UyXxL/mwQ= 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 0FB8E62956; Fri, 24 Mar 2023 05:23:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF65CC433EF; Fri, 24 Mar 2023 05:23:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635400; bh=LeuV23DH0esmotNA2QlUjum35xKgU+8zbcmhGeC5TeU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Mrbi/dJOtzaHgUiVL6QgdFc+kWlVrRKxGkCrNKJ0d1YIPw/3/evFLS/HHQ3psMOAH g1W3YYeg3M8dZx/uIirKdmBNpJT/KKM40fWcK1ZgrnOjerfxRIfSD9MYqUVGMg99pT ZJLSaBF4mwowIdE+5Dax3W0pqpyOqiGomjRLmihUtgrfpg0guPJO4WOUpiTQBwKCDU a0AM0PtMtMYiyp6e298B4MR0/VCNihR56/I+CKVI7d3wK3rIuc8en7Uz8PegvCRN5d kwj//m/F+5wNDBtWdUtQuBkSPTMzlj5xAG91xj//nXn+uGHI2yM594pHZAftDp2s0N hyaYR2lpyMSgg== 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 04/14] csky: drop ARCH_FORCE_MAX_ORDER Date: Fri, 24 Mar 2023 08:22:23 +0300 Message-Id: <20230324052233.2654090-5-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-Queue-Id: E18E0A0009 X-Rspamd-Server: rspam01 X-Stat-Signature: yu4x4d7a1syczsnkcqef3z7adbt4aenm X-HE-Tag: 1679635401-298595 X-HE-Meta: U2FsdGVkX19p37vQlZlWy3y2URp9MIasqfCa0+eQboKoglzspWmlk9z+0FB6nQQNLFJedh9XC2rE9TM2J7fEgVAGRv0LiDsaJXdUQ1nJttOTSaft+3ahmMcEQqqK8akd+2sVG3jLPqyyLP/o45b/H7vjDz2Yb8qhcEu4OvVeqPnDuXr/HPrcPGQdQFoXlUJBhpS7oEvRufIOutjQHuMHQVGJQoHzNw3jTVeSGj0TOv3pL6lfh5xlKzUOaHct/S7X2jlK53d4bsnGGqFekOtQucqMGcOHJ00cYBjU03u6GY4pRFcETYFU8KvA/mRtt1/hDH+gh0TyFSWaZ4oGkPJjFQAZhYsuWH0hzsfJg3oD/Qg5sRf6ytBtOw6/Z0YDSoYkZI1C8t9xrHIk30z6h9XST+us/HdTnO+FVhLSD7nR0gY2sO5O2DwlZruaKVgXWkAm0H+eaGkUXTHkm95KPLXvcV8Bck89zbq68lCNhZCBNn+UP2IXU+qWeo55St+EMPf7YbZPrkDnBQYw20UDtozfXCIGxNije9xUIUxFUiFiIqxQ8dxCzvaUbLjo3V2Bq69NFy5U7HFUu3s5isYiimBvQTMGshQSwVYAOxWFlVsPSQwtNhte5Z/GxUym8IBcfHnE7BAY2gLCiYp3OYZYyhbE8DxkBejTvvFPgd1LsYy8u1w8+2sAhYgVATs+EhGbedhx5qD2R3VmXnYEwCbJ7h83Hz1hxHDg6jlVuzHCHqqJYjot0xjJNTnzgN922dnM/ob7hhPU947FLkzk+JTVh8dkbFBhvHlL+LYDkpSgYVNHV1zfHwOGkCU0koocBHd9McKvp5icjP+NojBtqgWDojW3WIL4Q1KWGn31j4TTDEIzqKTFcwMdD0rjWX3ZHdj2+aAtjNFr5t1luowc7XA0wDYEwEhQLzMZ/J2rOqIsF6pk4IVBI02WxUORChWFpsE7s0lA5zJr5Pomnzel7AIwP38 OL2vb0KA MRJItgLlTmxUdpl2aPJn1aC5OkM+lkRqxuIEcg6MsnVheT81qfc9lry0fLLKBE3Jtv91i2AVz3EcGF1p35i7S1jXfA5GiFtUDm1oOtHwItDn32kdgVgm5ufiez70nJJ+bYF6R/iU5rECqui2DC+Fqpp9xDwGnbKMdxrVn0S6gkxWicutYFxIE7ajN1BXlyRow2QdvmjgcH9BFbZmpw3DnXOmXvkfVaSa29H6Gg0DLv0z7xu774ajGQdGiK2qq8rCds6MUUDvSEEppMagOfCwNl3jvxVgtq1oowNUl068+fKyuIcb4CqbVhPLk2PVmNAMwvjKM089+NX4mYddtjOhEIImAEa/+zos51VHXqnlRBAEssI7+OCWgwmp/Radc28xs+kNWcU3B6VLB2cBQoetV0yn1QTAYPf5YDK/hn9fbbkKPxp9Q+uCpMtapJCJqukh7Wgo+xmEceafmCy8rjOZ13vnIVw== 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 default value of ARCH_FORCE_MAX_ORDER matches the generic default defined in the MM code, the architecture does not support huge pages, so there is no need to keep ARCH_FORCE_MAX_ORDER option available. Drop it. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov --- arch/csky/Kconfig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig index c694fac43bed..00379a843c37 100644 --- a/arch/csky/Kconfig +++ b/arch/csky/Kconfig @@ -332,10 +332,6 @@ config HIGHMEM select KMAP_LOCAL default y -config ARCH_FORCE_MAX_ORDER - int "Maximum zone order" - default "10" - config DRAM_BASE hex "DRAM start addr (the same with memory-section in dts)" default 0x0 From patchwork Fri Mar 24 05:22:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186420 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 D4373C6FD1C for ; Fri, 24 Mar 2023 05:23:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 776EB6B0081; Fri, 24 Mar 2023 01:23:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 727166B0082; Fri, 24 Mar 2023 01:23:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5EEDC6B0083; Fri, 24 Mar 2023 01:23:31 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 4ACDD6B0081 for ; Fri, 24 Mar 2023 01:23:31 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 1BBEA12062D for ; Fri, 24 Mar 2023 05:23:31 +0000 (UTC) X-FDA: 80602649022.10.A346ADF Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf21.hostedemail.com (Postfix) with ESMTP id 7AD971C0013 for ; Fri, 24 Mar 2023 05:23:29 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=BFdj3KWz; spf=pass (imf21.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=1679635409; 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=LW99BB+YCG4TRjlJy8swGWViHBRVPw3O8ECjyH8zKPY=; b=AgP0TRi8gVX/eaJdZ74mPE3nJhL6DyRST8POkyvOE2jBUM73htzuOb5T+Y480jzSS+RuAX f0e/tg2EemehWRUtEK7++JDoKoW6qrnVNo3IvuRbf3khl5FENN1lHG8c1O25icGJIrV7IL 06NsyrSXtuy/9m8tAFgJ2P8YFXUY/2E= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=BFdj3KWz; spf=pass (imf21.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=1679635409; a=rsa-sha256; cv=none; b=4vqYdVmCXkUueWDf2uItyaqoetvc4AagkUxOClgqqrhbH3TT66AUg1TgC1Eggq4OVsXf5+ HaxxbrT1F1ZYck9tbwtFu02SRnq7gIQVadIIg3mKkORfBTwkbi0i1BtTrq8U3WM/05R/5B kPMvGoBtEt3M31a80eouneMSA3ibjLk= 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 AD1E462952; Fri, 24 Mar 2023 05:23:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08A2CC433A1; Fri, 24 Mar 2023 05:23:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635407; bh=gU9WeuZrKKhjWnkXo6iMK8oK3OAW8JY6v5zyZrx1gFQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BFdj3KWzf6zlwHRXi2kvBaCDK5IwWYveapciy+Fji7CcGbm732iPsb/YPjuvv9zIH 6i/jctZje1DXV7S3ZbrzoNueEf3rgMbP1vrj5lEVq/aRm4XrKWctECPRaTak7reTfU X3bPUKdu2HQPSs5HJYswtyCMeFb3EDxzWvEKXLYUCFm77id4DyAMfHYE60U/qRW8li 9bHSq1dQRA9au494Ssx/8QcgyTFdNnBwStfwCPJOzY34mgMs4Dqp2sK3UmVVoJH6ft QZQXJ6pXN41I6wxusj7EPI/Lgw6R8KopT9u+INsszNrq0btGsDgeht5cmNYtrImKK5 R+FtwuPNMfntA== 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 05/14] ia64: don't allow users to override ARCH_FORCE_MAX_ORDER Date: Fri, 24 Mar 2023 08:22:24 +0300 Message-Id: <20230324052233.2654090-6-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: rspam04 X-Rspamd-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TjyVclGp7ZzQPEowI3l0k9EYHC3rEYBRavSUXB5bcbHSrGSwsKghH5kz1wrJ0cyEplzQ6kEPXan31hWFxzMhpQZISHor6frLCRqXDknWXU0d64G7hD3kNVVORpkgqtxMOreoXdH67h9JVVHRUJ85B10H2y75OnnTzH0xzuqHbPBXv36EJou9KGmmaDAEZsL0WPQR95T69vcAIyqhIkVuPN+kyMMbv1O5HZz+93XFXkRzrQdkgm35IlC+QFMd69O5cofKYbnyGmuIKW0lhFRq1Q+SaowijgVKojGqk4/s2+ya/YMopa0eyViNLwSFwcDVdOMcVEpU8aSPnYdZYDA++L8e/Ceodvwh5USV79FnWHprM0KLWZc01ut4Iisa21nlGgf2n2T4PD0ClvccbwBUTDlmvLRCHrDD2syv1b03WJ7/I6fx/NVPevWj9LAi5YiafWYWDIY3dIg== 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)" It is enough to keep default values for base and huge pages without letting users to override ARCH_FORCE_MAX_ORDER. Drop the prompt to make the option unvisible in *config. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov --- arch/ia64/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 0d2f41fa56ee..b61437cae162 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -202,8 +202,7 @@ config IA64_CYCLONE If you're unsure, answer N. config ARCH_FORCE_MAX_ORDER - int "MAX_ORDER (10 - 16)" if !HUGETLB_PAGE - range 10 16 if !HUGETLB_PAGE + int default "16" if HUGETLB_PAGE default "10" From patchwork Fri Mar 24 05:22:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186421 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 0543CC6FD20 for ; Fri, 24 Mar 2023 05:23:39 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 972A16B0082; Fri, 24 Mar 2023 01:23:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 922E96B0083; Fri, 24 Mar 2023 01:23:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7C3466B0085; Fri, 24 Mar 2023 01:23:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 6D2E16B0082 for ; Fri, 24 Mar 2023 01:23:38 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 29752408B1 for ; Fri, 24 Mar 2023 05:23:38 +0000 (UTC) X-FDA: 80602649316.08.867FFF0 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf09.hostedemail.com (Postfix) with ESMTP id 7875B140004 for ; Fri, 24 Mar 2023 05:23:36 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Mcx5mi6z; spf=pass (imf09.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=1679635416; 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=tkFB2BkYJdzGfahGGedeyiaw8J8E0nu7W/APF1YGx94=; b=aW1yx8ojekxyIZXe4TENncRWkFzjwnoFXeluSIamzrgHYEhISh1um9PwT6dbWhNPYsw3aL Q875I9rzD79tvLoG3UATBKSjekukro1y0A+1FcvKudtfExaOSnBJYC49WWj8XtKx122YZb hRZ07gTdebnB4RQSxji+/Xu4tmfJsJE= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Mcx5mi6z; spf=pass (imf09.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=1679635416; a=rsa-sha256; cv=none; b=R8Dal3NrrOqw6feBcKfD/a1sMhH/7nB0+5EF1yiD9siifzJacHw1cH9wF5s9vjHAWA/iPn I2j28jYD7R0y+y/UqoESq6RbGW967ptJ+Slo//Pxbk/OGYaBZFsOO2y+lTIxwsmR9et+NQ NPWHHR3NUXlCRCi3qoy/c4yb0ZWBTFo= 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 B2F5A6295B; Fri, 24 Mar 2023 05:23:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57431C4339E; Fri, 24 Mar 2023 05:23:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635415; bh=16JrwLfrtLxPuHCHFmRFq3Y1XDuzg93pFyw8IuF9Xqw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Mcx5mi6zYMsZzfoU338NzBBcB1GnI+sBv5ceeoPKrKh+1fsy4+PTA/r3sP5Bom2yj 4luDbZzurEwLt8XL4O3etoO/FZps8DQcHsDcqapH8HMJedXStV3PwysdRxoO+wouMt epZFwyP+LawQXFLfRWthEWTuvHRkJfa7niNubZ3Q+nrrv+77f3/mb4EpmnnIWnuqZr JtJauVIg4UQYcSle5l6vt7qITgP28NrOveEliCMkdFcXeegKGJWd7/cR8s4fJ7V7dt GYK3Jedaxs+h6q2d0egoaUJX3Dqbgnf9KbHMXy6oehrvJU/VHVoJS+22JmbMVEbb/d 6gyRBPAs7d7NQ== 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 06/14] m68k: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Fri, 24 Mar 2023 08:22:25 +0300 Message-Id: <20230324052233.2654090-7-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: rspam04 X-Rspamd-Queue-Id: 7875B140004 X-Stat-Signature: 6hkm4wzy1uiyrkr9b6gq9k6axtm9uzmr X-HE-Tag: 1679635416-487494 X-HE-Meta: U2FsdGVkX1+kjj5iqx/BpDCVwPylyxrT5JOZTeUgu+jsqXNnggFohuC24yZJjrwHhdHUCr5+5/p0NIJmd6DD3g8koB+R+RGDsvGY3t9Af/rwU+3IGaIByYHju3v3jJtdAfIz7/ej7CmnuTYTLqOSM2wE9VNCbJSkIKKw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8blzLShcIoS5xSfFQGgUTrZTsAlcaS5NVvN2rypvONwLy1L3FhF2AiqR6p8UMXH1NA+eSi6UxmJoElrYWA4h8hy61JxRzsPA2sCimEHN2a5KOOgqv6y2Lq7T5W/0fMW00/mgRKiSzqIMBmrVhntdMfmbTVSq6ZecqRMWGyimPMdXgxb5Sd+jhklmhZ9UddGHRle3C/oWrX+QKxW0N37Vz6bEGz7i3iQR+Ow9mzR3EbIGkibLBnfjQhaELHsNUfCqS49Orb27dSUlwbi5bOmCuaEEbOw3dg== 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 Acked-by: Geert Uytterhoeven --- 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 From patchwork Fri Mar 24 05:22:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186422 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 1BB55C6FD20 for ; Fri, 24 Mar 2023 05:23:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B1F606B0083; Fri, 24 Mar 2023 01:23:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AD12F6B0085; Fri, 24 Mar 2023 01:23:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 997DE6B0087; Fri, 24 Mar 2023 01:23:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 8A9B06B0083 for ; Fri, 24 Mar 2023 01:23:45 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 5E9ABAB10B for ; Fri, 24 Mar 2023 05:23:45 +0000 (UTC) X-FDA: 80602649610.06.DEDC68A Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf09.hostedemail.com (Postfix) with ESMTP id C3F65140002 for ; Fri, 24 Mar 2023 05:23:43 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=dg5ZEoi0; spf=pass (imf09.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=1679635423; 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=wsqxMiPUvamwycmQGMj3tKnN9sQooc1eKgxUwhNaAn4=; b=GiGfV3TLs9Pq5TWxJmJ7okzftxRj+Pzhypqb4Z3Zy1GpKrce/6R6xxqfgoa/cNbMuqRS2O nh3Rt/ZN4LXePBtbUZKSvP3f1Ac2ulY4IZ+iaPTuJ4fjYcEKSy4vH8cQqwUx9sor0kXf8d gjjR3A6EfXQPVVWA+XPAD2/3D+eFdHw= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=dg5ZEoi0; spf=pass (imf09.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=1679635423; a=rsa-sha256; cv=none; b=A6NzawVDHwEOxvO/shdp57iiZr+7Adq1/IPvHMOdsxIcR/tn+0gUN25LkvG4hR5tUUZfMg hG3t9THH4Og97v+ngBnF+vdHvmW8cWdMMzVaLQMt4CAiGLMxnjd6UU/SHPzcjcFkjfAAWC bWoCCN0jEJ/4euk07SbwEV7z6v1Cq2M= 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 0516662953; Fri, 24 Mar 2023 05:23:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4E0FC433D2; Fri, 24 Mar 2023 05:23:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635422; bh=3o/oiJZNYjmbb0ve77O2iog/Wu3nxAaOqmae3RvqrTo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dg5ZEoi0t9FSUKA5Vf5WUTAMdkq5awtSVdVqTOfIj6XF/R0HIUiOqn5EjYWKEz12V mTiqvQ2kfY3LquWcC2iqXwvlnBvX9/gBDI+A52wL4tt/aj00N9ywZaaqf96CKRHrdg qFBvKiDudjh/e2ioZMdjcnNvV+v7Jj4HcmJc6NXZgEqeQbMymxkNwAwEFw00iaGNuK 7UP27ur+wlUIMVPyOv7Zhkn9isMmE1l/OgwziL1VRcDuu/CsmBtAwjxvHl+OdhLaDT 3sECoai8/JExuUNHYkVBL0kVVhiBVVxbZFej68r9c4/Oz8b80d2RcxxKR0dCEDd85u 6UbAoIfK9A7Bw== 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 07/14] nios2: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Fri, 24 Mar 2023 08:22:26 +0300 Message-Id: <20230324052233.2654090-8-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: rspam04 X-Rspamd-Queue-Id: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eCu1xpPxtKAZlh4B8rORdGo5LCrW34CiH17RElVLf9yGRb5xRvpwKMZpinFdmqwvulgI1ei//J60P35gO0F6wM8ANcVtvWC0LT3VxTYFYJE2tFdCtBZU+3Rw03SjnOwHpt7wfYaDJTU4GvDIbv5uERGWCeiNjbs3/mHrQkv+h++VVmp8z8p5Eb4v6vKBMsDbnSeY48gedEtT8yNinwBo7jKa4QWZqb63VnG2WKoJHpoJwwIz2KDvo/dFTm6xqAvnkUlY55hX5jOyDPow50aWsQNOS7gAQiE6M0KdgxHdEyFPjWB6wDT9Ba0kSDqnY4JSnIxZjibR1Fnl8/wC6rgAKYXuBA2+7dkIvk1VaLa2kcdzf4K0fAOEfq05cpGy3qMem/TnZ6QoF7b15Q40aCH625AKtYfU6qgk/3CIkUFaeJm7ynKT/SOr2kRdqU9PbB3Uv8N6nXeQA== 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/nios2/Kconfig | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig index 89708b95978c..fcaa6bbda3fc 100644 --- a/arch/nios2/Kconfig +++ b/arch/nios2/Kconfig @@ -45,16 +45,18 @@ menu "Kernel features" source "kernel/Kconfig.hz" config ARCH_FORCE_MAX_ORDER - int "Maximum zone order" + int "Order of maximal physically contiguous allocations" range 8 19 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. + + Don't change if unsure. endmenu From patchwork Fri Mar 24 05:22:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186423 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 BA592C6FD1C for ; Fri, 24 Mar 2023 05:23:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3F3586B0072; Fri, 24 Mar 2023 01:23:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3A3A16B0087; Fri, 24 Mar 2023 01:23:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2463E6B0088; Fri, 24 Mar 2023 01:23:53 -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 12FFD6B0072 for ; Fri, 24 Mar 2023 01:23:53 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id D1B85805C3 for ; Fri, 24 Mar 2023 05:23:52 +0000 (UTC) X-FDA: 80602649904.11.8CACD4C Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf20.hostedemail.com (Postfix) with ESMTP id 2672C1C000D for ; Fri, 24 Mar 2023 05:23:50 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=bXkqlfAL; spf=pass (imf20.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=1679635431; 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=8CNmBPjU05YNrXS24xFzgPNX+0YBBxkwOVxqBUijiFs=; b=ZV2OIO5k3PDOqGdd4dtU048XlVHbNkFUZh6AaUJ338jNp3gVC4fU0cqFY3tHr8WKZpbCMA KwuhhleYUjqkj4Ucvpgez8jgy34wZOiKaCK3ADEO9Z9OD81Crm44FtG9INYdeAF36xfvLY 7BHazzwljx7V3/MVWneMb6EtZi5FdJM= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=bXkqlfAL; spf=pass (imf20.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=1679635431; a=rsa-sha256; cv=none; b=lrK82quxPCL77snijxSAXYdaY6nIWrDNSd90yvabYik1tZxV+MoC5XZ/+D2IHsTF/vB2ka gi+iu5toMu0VsPuzpBJ1CBHiL7DCcCq5C7z2quhJOZ7LIq7s1cHit8OarK0yut9xG8Iss7 cJ/LcAYmhB7gT0y4vPUjXrABn8sVLqU= 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 58DCF62958; Fri, 24 Mar 2023 05:23:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2B5DC4339B; Fri, 24 Mar 2023 05:23:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635429; bh=1TQi32EW4sMhSHFZM1vNQKjc7vRrEzXRk2muGQZIa7A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bXkqlfALVhBouegCaSp8/0Lh0ebMNMQK+EN3+kSWo+/ioLU0Xhq68MKOmn3+u6eMn xwmJtEaTVqFDLZ79xkFPhNTEd1CChjidO7lxM9kiCA9ZNNahfo643VGNz1FawDVKvf CsX/uKLfLXq0kdOcQBYeFKHX3YNJvb5SG9p9M4SJ7TY4FHoP73Am3kVVaEpGj0kqYq 5IrJaV9xspjTKX6qcUgkMKb8ssBuSyzK3JKC6zYMoskHDivZL7igAow2ZMNQpYZRcc O+0GTQ9spmrkyZu82oQixOU4G0fmOBMVRpzyorDvoe1Jn7DwTrTEitolX6vwLAz2Ur 4hgZBRH6M0UBA== 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 08/14] nios2: drop ranges for definition of ARCH_FORCE_MAX_ORDER Date: Fri, 24 Mar 2023 08:22:27 +0300 Message-Id: <20230324052233.2654090-9-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-Queue-Id: 2672C1C000D X-Stat-Signature: hny4r6crwxgi3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rsity8FaYikaNd4YMAQswpkQZGYi5pGNU3iyv94l1vT3PmXRMdXx8hxJiBptzw5IXKQYYpmAR23Ge0sjSWJBbNHRY7mh4WvuqaJ24NWQzs5R7psd3GXt8DXeWllUIBMX8Pi6IivPxgSmCLM74PcTt+uvGSXzuKLb6cWiCKgbaKfvJC/oo9v5iF5rrmuZw5Yh9hmksr9Yny13oMfOQqOn+xfcfgQGcdKSjaJ1LRG9vY6liVjBHqX05RYO66/qJJSwkKA1MqrtL5alambZ1iASB5k2tJj429UmNbjeYZnGvHPtaS8rQrbAdNcKQXZ5oesQ19RHV2FjKOe/fwej4QMC3DHa74XLmvgVuX/4pXR2p6WqeHtyGR2wlSjh5IuKln7GCl2PFCq0ADN/CnZHDmVCaKf7TNcpmbkvy5cof3oNknqirTczokpOVljg6hDlAv0wm9uOaS6xGdQ== 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)" nios2 defines range for ARCH_FORCE_MAX_ORDER allowing MAX_ORDER up to 19, which implies maximal contiguous allocation size of 2^19 pages or 2GiB. Drop bogus definition of ranges for ARCH_FORCE_MAX_ORDER and leave it a simple integer with sensible default. Users that *really* need to change the value of ARCH_FORCE_MAX_ORDER will be able to do so but they won't be mislead by the bogus ranges. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov --- arch/nios2/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig index fcaa6bbda3fc..e5936417d3cd 100644 --- a/arch/nios2/Kconfig +++ b/arch/nios2/Kconfig @@ -46,7 +46,6 @@ source "kernel/Kconfig.hz" config ARCH_FORCE_MAX_ORDER int "Order of maximal physically contiguous allocations" - range 8 19 default "10" help The kernel page allocator limits the size of maximal physically From patchwork Fri Mar 24 05:22:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186424 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 9A565C6FD20 for ; Fri, 24 Mar 2023 05:24:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2E3D86B0087; Fri, 24 Mar 2023 01:24:00 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2932F6B0088; Fri, 24 Mar 2023 01:24:00 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 159CB6B0089; Fri, 24 Mar 2023 01:24:00 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 076D96B0087 for ; Fri, 24 Mar 2023 01:24:00 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id D0481808D9 for ; Fri, 24 Mar 2023 05:23:59 +0000 (UTC) X-FDA: 80602650198.13.BF00DEC Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf06.hostedemail.com (Postfix) with ESMTP id 108D3180007 for ; Fri, 24 Mar 2023 05:23:57 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=fqCbMYSM; spf=pass (imf06.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=1679635438; 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=doB+A+//ZGYqd5r6xoksR3G0zdrIxGuJAmwL+F+Umqg=; b=yt076png5MN6Pq3OOKp5Ko8I9ljNIbe1tpnrqAwuUDuuXVvz1seJju0QbZoRRpsHIqgs96 kyH/k8B6j+S6fRHzTXQohuNNdIKn1pxyrTvUlT9VodoDFOqhfZmvrzZTB4VaS2T0ggPFN3 eklszeEdNjc/CzQ54Z6JaXEIyFDniA8= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=fqCbMYSM; spf=pass (imf06.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=1679635438; a=rsa-sha256; cv=none; b=uZwd9l8EIwkH1CQEhLp9NSGjptLUl/+jyEisABkZkmbzgrpKzOcqofqeML4cxJAW/DPOS1 sdDADDVtjMyyuHoHG5+5wS5vLhvlBlOCbHp+cv/FzQeFb2IvN38PBeBqWKGGk3EaQuODWq dTM85JHmrhoFjpWKpYN5BcIBwFMLotU= 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 409C6628E6; Fri, 24 Mar 2023 05:23:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BFCFC4339C; Fri, 24 Mar 2023 05:23:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635437; bh=UVsispKOXrBQIEvWETypgEvjsfcHzjlmC/4ErOkgTNY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fqCbMYSMHRA8KSzswP21kxD34OBvPg5Oroes5iFhMPJ9Jc9lUvLPdfZusBSVzxRjD ZlU6JqXwo7gqufTHgsi7V2KYkqvPdhXWJniY546kA+HW//VjjbzDJ5M21/A8oWT0Lc cETKEhPNKLa2fOzp+XVPD0qVEl0P7kiVmNLagl9k1laXXohAb6JbmnGiNxTwWDsuS0 h8cxMHFbqttSNXkLPI/vicrjWlcEAN1g8TI7yesPlErb1aBdTV3L7Hi1bMNc6+Bt0l 23BSyQJZuTuaAN09/B8wSFzbZ3vkeBkT2OBZEGsqb1Gwi8JLs1MyWMHpy7vS3iIw6J HLZTIgog+NgUA== 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 09/14] powerpc: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Fri, 24 Mar 2023 08:22:28 +0300 Message-Id: <20230324052233.2654090-10-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: 108D3180007 X-Rspam-User: X-Stat-Signature: n6o5mnfwquisuqg474h7jdjiurp9zc5n X-HE-Tag: 1679635437-907046 X-HE-Meta: U2FsdGVkX1/1bR7RXJzwCMfoafPYL0QHHJEzWm8ZyMBtp7+XxLUFjxb9QAL0ON1J9f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fp+d97RrL63lotgQi5Xru/Ff3xUW4hjIJMV2jhdvMIyom2X8VHkzeP1Wbp84UVsaJoqgsrIxaokMaNtNS7/lN0ah1dkzdPxtVKxrTPcDKnzwUDczbCHpHelsYIzAJP9TK35s5m6R2AYXo8TeFtOYM01qK47MbTojnlWv0gzHB4v7U9iCO/V2pqkZQ47aNIf4bah3rU7+66gXWjZxZEsHAw2EX+tCX4GgEmScJyP7QjHKhhhAJMxTLrLNbFQRWP0wc3Gte0sGo6BQkIeJ6dDda50FLimtdO08X4pFUpFLcDcMCltQ== 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/powerpc/Kconfig | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 24d56536b269..c0095bf795ca 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -896,7 +896,7 @@ config DATA_SHIFT 8M pages will be pinned. config ARCH_FORCE_MAX_ORDER - int "Maximum zone order" + int "Order of maximal physically contiguous allocations" range 7 8 if PPC64 && PPC_64K_PAGES default "8" if PPC64 && PPC_64K_PAGES range 12 12 if PPC64 && !PPC_64K_PAGES @@ -910,17 +910,19 @@ config ARCH_FORCE_MAX_ORDER range 10 63 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. For example, on 64-bit systems, 64KB pages can be enabled via CONFIG_PPC_64K_PAGES. Keep this in mind when choosing a value for this option. + Don't change if unsure. + config PPC_SUBPAGE_PROT bool "Support setting protections for 4k subpages (subpage_prot syscall)" default n From patchwork Fri Mar 24 05:22:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186425 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 1FE29C76195 for ; Fri, 24 Mar 2023 05:24:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AD1826B0088; Fri, 24 Mar 2023 01:24:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A81CD6B0089; Fri, 24 Mar 2023 01:24:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9499A6B008A; Fri, 24 Mar 2023 01:24:07 -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 86E946B0088 for ; Fri, 24 Mar 2023 01:24:07 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 5802880863 for ; Fri, 24 Mar 2023 05:24:07 +0000 (UTC) X-FDA: 80602650534.30.7B15A22 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf24.hostedemail.com (Postfix) with ESMTP id BFBB918000D for ; Fri, 24 Mar 2023 05:24:05 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=fOPPdB7W; spf=pass (imf24.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=1679635445; a=rsa-sha256; cv=none; b=2+vPlsi06sEPsgFQTpOWat8mGt7gQY4jXfW4xBx1U4XkD7LxctxRlmc0WhD58v3Wn0j05n qNgCi721Fhs10P/pDudX3brRepjOs4+MFVmUgcdQrQms8+Xed9UVw0H24QflG2OkFLYJKc VA/ZP12wp+Tp458TdlIPx23IJyPtxCs= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=fOPPdB7W; spf=pass (imf24.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=1679635445; 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=AkqRx+KrP30aLols0GHlrVzO35qmEZhWmHhuQw/AW/c=; b=u0Lg3K1cV/bpLQmMyCwXjqA7pgWTv7t74KG+q9DoUGskDPclf4AJS+F6/uwNJQ4KYrHJlv WP9DpdJTFyuvGxLNdRN6azoO8rGuKbwdf56JS+knhnNqN04lMphgCBnwT8fxWb4FUoGi0N xAvNDYh9zYWcIAhJnGvli8nmuVTiUEU= 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 EE21362959; Fri, 24 Mar 2023 05:24:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98C4AC433D2; Fri, 24 Mar 2023 05:23:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635444; bh=jWYXVkiblTjjX8pMnu9azKaVJNWEX1KdDh7PEDhc8xo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fOPPdB7WVSI/TJGLz08BWyCbM3MPNDHSvvdLc07CiNFcEQtOpXfXnBJgp9g5Gqjkm 8F28pUwOJVrpod9gGe4iU1+nISFMRtrxQVHQVzzpCWKofvm802AcpHCtcXzGu2nRbh WekXd8orI5sXakmn9+0khvrkxIc1ECZE4pJcrQy4AVYMnxz849asTs+cAQX/ECJqyG kixmr05LTFO3OLPYoS8eJ4iSptjqr21w5F2EXJvzajbcFR+zkrDRfyF33hpCX9+Obx Q9Ca3qPSjTs2zx0ITQke4VnH4LI60668Uqic9f7AjDoR/MGV3S4iEYY/Jha/VGMTsv FiBwJdDbB80IQ== 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 10/14] powerpc: drop ranges for definition of ARCH_FORCE_MAX_ORDER Date: Fri, 24 Mar 2023 08:22:29 +0300 Message-Id: <20230324052233.2654090-11-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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UjZOd5KJjyCVszzZpvC7mDLD56zIxAs eX06lGmo q9gW7870XZIf3cFWX2RFDYfdUMKjOFkZcnRqlLbYeiayYLpBLq6f9cfKHIOYMFICv2S/fNTT2LlU2SlRtdZ1LFdlvthm1VRRIkPx0sxrbOb+zvLZ4LERrHQgz0ySc0ZiCIFbqPKx3JQGzx/o6AKedAwetnujlXwkAQvkEAAvo820d+6CeqnA8i0GvdQgxNEQ/6cuYMASii/HqPW9HLm3x9VksLFZSSemUZ+adE0v5WFwd8Nq827Em5PSKBo6aTe4WHMLvqW2W5wsyty2qw48jI/ghpuynvPVSrFcPXljPmLfqxg2rCs3tVAAqckSuN8bW6iVmFM0NhGrZNa+yoksZiAoIN0bAj22qNK/O4UzvKvw2hJyHWr2UBvT2+ojyBQPmOQk2fjYKfdXbzQz47xTJmyKXidbheiMaW66JXcT1HBxzo3XcqGtASHzsamaKnPzUO2yJud5RZEp4Aw78hG15xDaemw== 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)" PowerPC defines ranges for ARCH_FORCE_MAX_ORDER some of which are insanely allowing MAX_ORDER up to 63, which implies maximal contiguous allocation size of 2^63 pages. Drop bogus definitions of ranges for ARCH_FORCE_MAX_ORDER and leave it a simple integer with sensible defaults. Users that *really* need to change the value of ARCH_FORCE_MAX_ORDER will be able to do so but they won't be mislead by the bogus ranges. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov --- arch/powerpc/Kconfig | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index c0095bf795ca..419be4a71004 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -897,17 +897,11 @@ config DATA_SHIFT config ARCH_FORCE_MAX_ORDER int "Order of maximal physically contiguous allocations" - range 7 8 if PPC64 && PPC_64K_PAGES default "8" if PPC64 && PPC_64K_PAGES - range 12 12 if PPC64 && !PPC_64K_PAGES default "12" if PPC64 && !PPC_64K_PAGES - range 8 63 if PPC32 && PPC_16K_PAGES default "8" if PPC32 && PPC_16K_PAGES - range 6 63 if PPC32 && PPC_64K_PAGES default "6" if PPC32 && PPC_64K_PAGES - range 4 63 if PPC32 && PPC_256K_PAGES default "4" if PPC32 && PPC_256K_PAGES - range 10 63 default "10" help The kernel page allocator limits the size of maximal physically 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+81Rr87DaHiUhMU7yiXCc3qAO42F4JznmvQDa39oTROPEEK77kBdPjdmuq0cp87uOZBdeEzEW4mIomDhx3jk/H9L3D3MfIYb7QHt6US9ghXeMuHbvtmVyXD52VXP1Vu5FgkBM6xr2HLOCyxwSCQmwJzcRkAgWMqeHB64QJN5F8SZkxOCndN70mz3nmOdv3dJYNu7p8ID3ScI8GurjqLpHfSaSzEryPI8RhHo7IF2yvQy1/h1wQH+ZrU/4VJ1JWRD+TQdLn5zwirbw0CKMpVbGA3SKSEZGeyK/dDVAL+sIcoS6rPzaMQj2D0sF/ZiV/PcXMhKHA/Kb+fniTJl0p5rPKqIMsZgUfBhe7cC4E8GFw4NSSqwl9LHXJUo1rx+EQUxmmBl2p1e8PvdnViUlc6gmcb8jWJfWQasm4aOXriMIiSpdflbq958NH0hCYdeK0OXEel3SU0e3qIOuV4iclhPNjDdqXikehX7nCQLBjlzKswXmsuk0Epb6s+5SCnh1xQomYPR8tqggldKxzJKc1+K9bhgLe/bzZhlLnIOgBiSoTLQOUJeIbsj4UYftIeglROoHnAgRXzjoV6EJ3R8Ht7XH7PxQs0Pw182ufCQ4qWv263AauzJbzV52FlwzNFtlNZqPoOnv9ok/FBII75qF7yfW+x8IVtQmSIRhppXV9UkmNYDAP34RXGGWjpc3Em+9Agnj77g7LiZwMJbGuqf+7BY74E1/LisYDvYvwpSHEY1dpuJVovMeDnkP4wceb9/t+D8e+VV/ocmAldSPhx8HmZTziqRohAG1IZ8/jAcyDuzCDLRErqEjNFWz09Q5YGQvt7AXQY8Qb6G4Vlotmz4R1MyIdJVAQgxpeh+zlrVjsZTKWN2uo0XG/LDdrH6vMtsPl0YqSYWSS+o3CxafGBYTWGpOqFG0kDYmbt5ej1rF7OxtBZhfTYdYCY5Y9fjEiVChaIj5Zy60+F2/ o1afEVWj EGJAP8ce9LyckvglokaSMJqKCfUDL9ERC3ghamepywR+fC/Z5SwNJNywATy7GRmppJ/33qBUzHdRE/W3UCA3JKH5Ji44ozgOcFhlD/4Q6Q44bFIl319zbIYF1FC06e+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" From patchwork Fri Mar 24 05:22:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186427 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 76D26C6FD1C for ; Fri, 24 Mar 2023 05:24:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 15BF46B0081; Fri, 24 Mar 2023 01:24:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 10CEB6B0089; Fri, 24 Mar 2023 01:24:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F160D6B008A; Fri, 24 Mar 2023 01:24:22 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id E3C3C6B0081 for ; Fri, 24 Mar 2023 01:24:22 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id A805814088F for ; Fri, 24 Mar 2023 05:24:22 +0000 (UTC) X-FDA: 80602651164.06.9F8DA4E Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf21.hostedemail.com (Postfix) with ESMTP id 019DF1C0012 for ; Fri, 24 Mar 2023 05:24:19 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=dceuPNgI; spf=pass (imf21.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=1679635460; 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=AztSsaZ92VAuFSJuok08H3cWD/CdNCVrzP3sxf84q4g=; b=NFQK7js+/S0PCMnogf8uJvG+ytnF75M1McnxDjgZ+iEjSW2fZ1npY0TLDvSP7YP7XeWuFb 6E/LXYYQXbI3/CRdi3Wr8YMGIfMTe9tBkDsFU/5XTWxV+VGnf4rVi2FRSLd3C150C0yQuJ bx/3shsJRiSaFFkD6h0Juwe/OVCIlOQ= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=dceuPNgI; spf=pass (imf21.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=1679635460; a=rsa-sha256; cv=none; b=CcyzWpZkcvdDLjdg51Qfs+e02BEcqEZV1+NDZT2k4xr3UWvbC2Ub/atuJ4UvuIfgc5BFUf s86Yl8s1FGLtWpQ8jTYeR4ZYJAvOCLOAgg/q21TV9sWPrfMMbYx6MnrVygB4hk7KQBrnhR eG4c/unPh88K6w3j4WSsHRtAlUfW2zY= 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 355F36291F; Fri, 24 Mar 2023 05:24:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4089AC4339B; Fri, 24 Mar 2023 05:24:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635459; bh=2lIjtXQSdcPY0DUqT1XLAyw0+E/MCp0PQPELkL71E0U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dceuPNgI5Lc/LCXyRzwFY4/npUh6dlu9Jhf/5eDd/XyaVsIGMLoMPrdYjI7XK6uZP coyLCsgXODg4jj7S1jXh408wnk/zgT4xAXB/dWAmdQO+aAm+79EYo2sOWU+OoAImta YL9EHR6dA8Kps/hg6PME7zMMXHGMFvB211a7o0e9LKIsz2bmyJpqJlzRUmqW1C6AvN V0P40bGmPoQIFcGl1LmDV3EfEVUC6+2aZqfM/MmSE6mZwkTOkRpuvfsW9eC/SB5z17 V0rtSxp2kFu3NwplK2cfNnLH3uUv2ccoj+Hr7KlRYWOO9SL3Gps/yrFwdY+lQTcWhX pzQoZjFHXTMgw== 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 12/14] sh: drop ranges for definition of ARCH_FORCE_MAX_ORDER Date: Fri, 24 Mar 2023 08:22:31 +0300 Message-Id: <20230324052233.2654090-13-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: rspam05 X-Rspamd-Queue-Id: 019DF1C0012 X-Stat-Signature: zsg9t5htsffkiz3i4h497skfokwsmqae X-Rspam-User: X-HE-Tag: 1679635459-42189 X-HE-Meta: U2FsdGVkX18A9dY++gGGj3eQuQzCEC+lg7jTGpTF5OBzFr90ufkdEkR0JrMaz4qmE9uLJrn+NeShR3mQGYxV7RYPnbZesg7pnybY2aMMFMxJGveGY48MlnLccDLTGVhgYSkuSbobjtheftSUdgzYM1OwXhjnPBfa+VD9vJOSTjZfeu+7Q1gG8tiEsOFlgIGkTFa02vnNGBFdczA+9/SlrKoVK6cLuvhWZGZ4FzLvQWumsnxEahI3mZiehi6Vap279S4u53f7MIEI3KV7Rap3rs2dQFt5/TsllEd8/X1pp+3Cffgj1g73NayzUtLfMiC6ilpAlN5bjHZguQTLXvAp9KKyvLCxuS00tVYliL5Ozuoz7YFXRQWtjQMQ4kaFkfu/3QEaooCdVXkqr/htRfAL1OQoZFm34cMOmfOPCy2OhHUVoqZ3NEtqALAV7XwlrnazTa0lw6tsL6aehFDj0kLtHGsMHqrRqRik/uK8yDD5zfqgOrmb1fHde4knvYkpEDTD/Cq+GvnImuJhl/likb9P2a/g2vV+pb9Ghyh82uZ2t5GMOZxRSfx7l5f0d4ZaDBNbeQE9VtHF6zyQb1uXtVM3npuQ96Xagj0CecAp+wxOzYRjFi2CZzI5eA3aTpmkq6X5BT5BgV97KK1f/ehqAvkuGzOj52fNQbCFzJsy0dLXx5B59sY8FsjAmXgTu2QFcUUriwcg+IIuRhw+17FtJBhGlJXKndYO5gA9rzfdSaVT4t1ijPZTrMPxIgnjgef55tkKtG1HOwB7sDn7kJWf9ojdw418NdiKkaMsPE0qrj6k2Yxp3HEmTxNQ8sohlcIhR1C3RZUDQzfqXMq9z5FZgCdXhaqNlUknM4wEh4fXh31jJDio6CqI8p+7EFpXGrUZHYYIgFKOBPZeMN3yoFM+fxu86lCWce9eoNUkLqi+/rlKdA88Aet9RV88ZSqw7XSiI7rg6HvnUC7dNhlPzdU83PK /p89745F i6jb7PcC6j7B2/LpVPijkYps/6WgCtApONGk8u1nbltNVchMZfyUDPBNVBMwWIQNqXLAItmZlxpyBsSqtqbs4sDlLa9PeqRHtR8Ah241RWT7nhdjKxQTHpsjXGTuy6/fJT4NXP+3xjm/iZAKN0bnncVNh+Zq8pBRET7e0f25WUkwszU10HIrj6tuA+KyDRku9Q2MfHdrGxoatLg1X3kdYe/c1Q0D9pKGgT312x8hDG/RncDxY3+EAHFeVvJ2qgtbx70YPHUl+YFSH6vjwT+GFahFEvnXfkbiJjTCXXDsBLH6s2i8jELbLTP9NkU48iSTabNLpW9qMvbYMUBO8bLyMLV33ZKEE9mMYwvmXn1vvrHl/0pgS/w5aZnC/tb05s34n75SP5QUV53yCjoOEB3NJwkSPj9Fc31F3hJDzYOvpzz7MxqaEXxlJg3AzZEydDgk6OUbg1sWBX7VxNooqlovBEZ+sPg== 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)" sh defines insane ranges for ARCH_FORCE_MAX_ORDER allowing MAX_ORDER up to 63, which implies maximal contiguous allocation size of 2^63 pages. Drop bogus definitions of ranges for ARCH_FORCE_MAX_ORDER and leave it a simple integer with sensible defaults. Users that *really* need to change the value of ARCH_FORCE_MAX_ORDER will be able to do so but they won't be mislead by the bogus ranges. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov --- arch/sh/mm/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index fb15ba1052ba..511c17aede4a 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig @@ -21,9 +21,7 @@ config PAGE_OFFSET config ARCH_FORCE_MAX_ORDER 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 - range 10 63 default "13" if !MMU default "10" help 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+EuBHibZoz/0Lxo7a7BPt74Z27pQmUiRQqgQL21FDUomlNuDFH+18oMonfEh0ZFHYUj6a3D46AMk0UYik33Ys9kZLn5TssuCzu8kYeWb+38GcWYZIyhqZ2bjIMiQ2Putua6jmfzR5ZSxITK9bcQ7KdmZ3fjaO6jMHIkid0ap7tgJ4aZEscrp4ak9dNQKlGX6DtDO21tLI4P0A9dGx3uyJ6OrWXYXNlDj/RKgtWLrl/5xndtsQGFIqfpGEaEdmXw4lMUq1VWHL8Aap5m9NtA6VOTvJa2IeqQg5sdx6oqxMppT5gtCBNOT/z6xNQP7LivCTzx234LK27XG0JFFO3YAn0G1tKYUjF/VLzBgvmS4UghWMVixADSUlqByk1o22dB3cLEkvnnf6qt4PRhovFSTpkympnKcSaRXYj4D0+3FS3mOyYrh0iaLJYm50AGDFEPQBQ6bV5vy2vmsQLL6+vNSi75U6W494Nn+FBxWcn3e3ElX8JxUINSYtysg++xHXGHhonQvipAjrZmMotLrWKCU3K8jPqe1zwjLpTKG1wI4dx+ZQWuoCz/10XnEEVyh/SKADCIfLtrCkbrRuoH0CYmXd/Hre+ygn4XXGtB4IuvGA3FkHAxIKT10a+C/adVuvEDHbUI1Eq8rxaYDYvB8VSrf+TAug+aMhXaHMrszkHvDCtXTsGVgcuOSvTKd6uBa2xv+tcqmB6siBPC7F6dzOmWIEioVDjMqlA/gm5e2ISqaEnVgiDoVkW1VAVLZ829Kkm3GcYLKjSefKDJb1QzgJNwGynti+FyP1s2P9HkeSzHNtM1C3J94ip28aJ8HQw7Nb7XRpR1sX4mQ5FJus56KkgcrHyxXjPURLNxg/qAtHAMJI0KMgcaNBBa1iGmfm8pZTv6CG6chbLySOFOsI1nzwAXT9anI/Y93GDMQk2UYndLs7WL/FE25K9EAKt5zR2m/3Ah rQt3rZAI bATofDVi8L19FCGw4l+iIYtyb8BY2k31vq1kIzMW8bj1Ais20Gz8E8ggoQNvXJxAlMnBPTpxYLqEbRvEeeyzHppYVaqXcyTmTEPUaJiI1mKauGr/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" From patchwork Fri Mar 24 05:22:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13186429 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 48042C76196 for ; Fri, 24 Mar 2023 05:24:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E54246B0072; Fri, 24 Mar 2023 01:24:36 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E03F16B0088; Fri, 24 Mar 2023 01:24:36 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CF2A36B008A; Fri, 24 Mar 2023 01:24:36 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id C02A16B0072 for ; Fri, 24 Mar 2023 01:24:36 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 8DC9C120630 for ; Fri, 24 Mar 2023 05:24:36 +0000 (UTC) X-FDA: 80602651752.02.181D84B Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf10.hostedemail.com (Postfix) with ESMTP id EE79AC0015 for ; Fri, 24 Mar 2023 05:24:34 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=A3CqxCMw; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf10.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=1679635475; 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=ZDzK/Zdv6IFeoz9l6J6Zb5q4V+KZra5cHP95Yld42ek=; b=BAnpnuKVoU0qYP4HIEuasVm4itT9TgRe7KUmK0LZmKprE7tXqybhxNL6UagJMaLLgvrJK+ /58wdCL1PpBSo2CfJm/ocRPNBURV4TJC/snhXICNS0sGEPzPziqXOtWXvcUB/n6v1dp1pc uJKcq7Bm+lpWzPWCZfnNUWIcMopt35k= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=A3CqxCMw; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf10.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=1679635475; a=rsa-sha256; cv=none; b=pazF1/jh6zrDBJlfnPcssDVTLLTJtmdtH4PLnzTbIuB2/+4cCQdMw5Y1E9l62Alg2SdmLb YK0Lidn0DHZZeU9tAeaYC0CCcX6xo6tc3hOhXf/oPmRUa+DVciijo5dHJ//LxatOuhGMdo aVV5CcHFcgiWA8DKITu/ieWZ2IBUkvU= 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 3BCED6295A; Fri, 24 Mar 2023 05:24:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD2BAC4339B; Fri, 24 Mar 2023 05:24:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679635473; bh=nw8UNJG7nUuciviQays7D2+1DNRt50wOuGp0YNt2kts=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A3CqxCMwJfZzwcOy2cHw6Hy5i4tjtq0LLAqlPpMCz7gceY63zG9+sMCnohgsmNBDp BJhwe+zNosK9oTtSQJ6sMo8h6vZQi3bv8P4VussUYnMpuK3aiMI/SN4BS8qQdBSpx1 N4o7L4cp676/LUwaSYP8a8XIhiZKbu5cpIY6aX1ykFXPd7EcB0LPOc/C0J/4Xdezpm 9EkSoLPcIlsQkrS8IVNKy0jHHPFeCeWECsgynPY3be9ACBDzng19Lmp+cOjgPEHoQ5 w6mtefVg74Z8gmKTE2K06WnOiAV3JoECw5bbt0ivWjt7dfAgLQyScbiZeeTkqm48hH er1kCT3TasZWQ== 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 14/14] xtensa: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Fri, 24 Mar 2023 08:22:33 +0300 Message-Id: <20230324052233.2654090-15-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: rspam02 X-Rspamd-Queue-Id: EE79AC0015 X-Stat-Signature: utampqhqtqncn3yh5wgwq4ipf33tyu97 X-HE-Tag: 1679635474-659308 X-HE-Meta: U2FsdGVkX1+lVYFgzQ1epC3kn3CeL3K/t08t9CYOOoDW7o7wdo9yxnUCmx9Vau04razyNmWa6+ARne8T5QwHB2EC6waqJg+eR5pwwIrjviKRMwtKhzZBwcyM6paPqY0IKtFKBFxu4PflB2946Cl9EHWA7tZtvqw8zRebxxnQ50/k44v8kUvOCmOf8yUPiW9uHNDlnDMbxToz4muCIG9TOhwETMQiVEtG7CRJ0vBrBYPg7YgWPX6uY0gg+93IMbdaERaSuX1P5aMpLWVyVH8E5bsws0D6UCVG11VnJtobWe25rTu7IK+uV8z2kWRG7mvmEDdn0GOcOV/URkx4KE3ZveVKlZhKyRBjIg26QHl+q8//TORaEnJ1+hZo1vs2UIjZDS+jJnW4R4PjzqsHkOUt6aq4PT/cdb0TWTnAi6nBhuKuwZVZUfZra0zoSsZXAWGfGNAb/RolNmJwpwaG+afGRL8IV8TXWQm9S8dIajAJxKdISULAqfxJ1/9QK2aumND6fuK+Eb1kCQBTCv1RnZOWyfekA7Lz12cbUwmzyOU7YWQ2yHCI11pIGW/NTTUM1763Amr1FfXO9+IcRj5w80Pfm0gTBx84dsTKBmohcrBJwwXluGMxiAzBprW93BaW9bv8XY3Y5mN4zEGKNGM11HrJkILCQu2H+e+U/IyiLJ5DyOcPdfLfl3i4j8w03unhZMgklXjyp6g+CrMvMp1HlLt3AShvK6Ewg2PGd+4bJaOFNsBtcdBhQvc1DEX4RroPw4L0duvl+DZKDFfMNLPqCnLzr/AWlqHmIGhGN7HGp4LF+grOZmTtV82jCWKFpB4CwFKCpNoy/sYaVePyq7O4GaV4BWJ2cR9tkTGqlBrGKIQJMSAWwM2vzFs2WPPhu0w2ZkUs7kl6le+mlh1qyTpatFxj05HHjmeTm45QfGji4IyizOH30MyqKEM93X6yqErOVLGZo1D0GjtSCkNyEkxlr0W LDNfiR4c kmV9vRsxdCmte0rUqfEmHo9YlEZJfn3bDsrBp377kGzl5WjVBl6Bx/aGRWVEUwAIbxXH7HkMp9UvEelKK4JNBTWvW7m/l6kBCHyEGbW3ZqA3gD12kOkPzFsnpxxmjKCdsEeRzHCzIurkWlnj3Oe0zljiZK7qiGAhYnpA4EAxPOrIPOe6fBha511OqUHea8RcegTXFgh7pCRz8xGn8qAvYyYACyLmKLD2d4ujZEGxiv9/65UMvvV8QkJu+oPk+d7UEnbanbUHk70nw4eT4YBJ6kInLYioBpK/XE0WzYyPteWEAnP09ZznojjZospoqnGTWt0a4tueLCIEBxwHzYQyNmOJ40y+tZVWz+OOjKi/hoBqoGh8xNhak+cNVjIzfevGvlxGrs4/BmFlnhWKWESzhEuNkCVTy1s3CqVDKWIz+U0BNcGZJE81GG4nXMvvu1S+DYav0ELOsZH7VSgEZkMSI4eyaE0+oJURBVtglQCNH8GBkaO8= 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) Reviewed-by: Max Filippov Acked-by: Kirill A. Shutemov --- arch/xtensa/Kconfig | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 3eee334ba873..3c6e5471f025 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -772,15 +772,17 @@ config HIGHMEM If unsure, say Y. config ARCH_FORCE_MAX_ORDER - int "Maximum zone order" + int "Order of maximal physically contiguous allocations" 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. + + Don't change if unsure. endmenu