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+lVYFgzQ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12kOkPzFsnpxxmjKCdsEeRzHCzIurkWlnj3Oe0zljiZK7qiGAhYnpA4EAxPOrIPOe6fBha511OqUHea8RcegTXFgh7pCRz8xGn8qAvYyYACyLmKLD2d4ujZEGxiv9/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