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: 74349 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp389856vqo; Thu, 23 Mar 2023 22:32:17 -0700 (PDT) X-Google-Smtp-Source: AKy350bnsFhfxYdq6ASbAYIArdqQSwBrxB5l6YYJeSX3HyQ+IovPRziqUil5rXRTDif99tEpcR0V X-Received: by 2002:a17:902:c70a:b0:1a2:1c7:1c26 with SMTP id p10-20020a170902c70a00b001a201c71c26mr1140836plp.0.1679635937261; Thu, 23 Mar 2023 22:32:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679635937; cv=none; d=google.com; s=arc-20160816; b=eTVIDD0lEUC/5Vd9t06f9FU+H37YK1ezEsVoBON5vozQs1Wzy9NAqyvQ2+KAjYgfE6 /61KVr29t/9F4nz3W14wBrLzGJBIePc1/eyZDDFFpstuJ1nWIbLBUZ5QUr7DOdi1AtAE 60XTuBYwev4IoPKmKUqg5Y1lS2beoxpgJGKW/vN9K6p5RK5Scroquh6RBsx1RYvbTY4i PPK+KbIkjZFi6w5mE9/EfTtCuSL5a7usCMBfL4pZWUhmsjWyoF9QewMVAHOEF5XgkLad tXYRGXfxLc2L+yAVotEhILXjfSs0x7U3eAKc45ZWn3TfEehrALRbXyg75vCsCfoo9X8v +6rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wsqxMiPUvamwycmQGMj3tKnN9sQooc1eKgxUwhNaAn4=; b=wcu8bDeps7XqBVkr8U/pvjIwVeS+0+Bcamle/5oN3zNC35MwwUPjHp5dAFbHCJwSqy ZdmB3yqQG63WWAS9eqBB01S/ql3xykDbAwWKqR9pu6jSdt13TbD+/vZyvEDO8JN23KiA LUkPYtJvZJdXImcbRYvqb4JWVjioHV5axgGtIOjZbEaMHRc1QrWpT8g3FqewOVz4sc2W TyDvRmN4z0SO86KqxhhDh6RiOL2n4hxOXcdA7XpYWkGGn19Zd7HjsPaybNF7cx45c49l B4kg5OoRzrGezouqe7FfvbRg8vJGjyuCMoUFRK0eX+ZhTJg4pDTROmyLth5Z2niSXyBT yhbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dg5ZEoi0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g12-20020a170902934c00b001a0644d226asi19867437plp.8.2023.03.23.22.32.04; Thu, 23 Mar 2023 22:32:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dg5ZEoi0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231503AbjCXFYw (ORCPT + 99 others); Fri, 24 Mar 2023 01:24:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231466AbjCXFYG (ORCPT ); Fri, 24 Mar 2023 01:24:06 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F21E81CAEF; Thu, 23 Mar 2023 22:23:44 -0700 (PDT) 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 A078FB822E5; 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-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761225932113949276?= X-GMAIL-MSGID: =?utf-8?q?1761225932113949276?= 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