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: C3F65140002 X-Stat-Signature: 7adamep1zn7cerateyjk84duyxerzsrn X-HE-Tag: 1679635423-194246 X-HE-Me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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