From patchwork Thu Mar 23 09:21:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 73940 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2809491wrt; Thu, 23 Mar 2023 02:35:58 -0700 (PDT) X-Google-Smtp-Source: AKy350ZJQdK/R4DwXfJr2vkyN3yWmtqnOauYMktWhCw+Ag72X0iGEI+tt7ZjE9ZeTys7gQF2pfMK X-Received: by 2002:a17:903:650:b0:1a2:296:9355 with SMTP id kh16-20020a170903065000b001a202969355mr1619127plb.16.1679564157820; Thu, 23 Mar 2023 02:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679564157; cv=none; d=google.com; s=arc-20160816; b=ZmHUdKZ/v9gvu8wXWzVABU/btsx8Ro9ZVbdnFuSLyhkCUrVDU/v6AcMrR5gi2aEmn9 CyHmudkvUK2bdHcon6vJOxb1WQFNyScIgEGO4Zue+RdlaZyMBBf1Sw/ArQuFytnHBjWd gBjHYFLMBX/hiCI7HYgDcY0acENmJu8zV4JYA9WOG3lNklJTcBiQpXKlYepWAkhodgdB ps8jK7Zn90sj9Fsy9497B7YaNLx4bHQa+/GjVHIB/Mz4A7ksLXrjue10Eh7XX8FTKd57 EXFFc92Ql4H8+EI7+KP+PIR7a3U1RtAIogEFClA4DfQpuU9W4cGs0hU7I6KnhAIuwrEc 32Qw== 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=Fmj5x4MItVVgDJUK3YcgVA2gB6TriTrlCDGVVfJz3ys=; b=Dbc/qCDkLnJH0H1GNO8AXsSSjxbsjXGwRIo9VUjKbBvUj1ybYjZjL+7d+H6+LdsKTz lqvqRUwJ2KW3v1FjpEF7RteheYlVTwgGcXJ8KE45rS7eS19/XaikbVWH+4inW21YmhS3 7llw2NFcYI6AGc73bToDt5E8boI65oQ/0S5+HR4r52/yuJRzn4nVh3DVu/izXjdwMdRU Fn6PuP1z8NaNHosK7rmGQjGBKjJb1p+Vmhqd47JB6JOdNuwxBpvAIoJYAfsFPfY7EJYY h2zo5xpgP2JpfXix0ZzRn+jRnk7NYdd/O83gA0y/PBGPDgWacAj7EPh0lhXNlxif6Sor S7ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OzqUXRJv; 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 w4-20020a656944000000b0051309268f00si1788114pgq.449.2023.03.23.02.35.45; Thu, 23 Mar 2023 02:35:57 -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=OzqUXRJv; 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 S231499AbjCWJYo (ORCPT + 99 others); Thu, 23 Mar 2023 05:24:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231649AbjCWJXc (ORCPT ); Thu, 23 Mar 2023 05:23:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30B45EFBB; Thu, 23 Mar 2023 02:23:07 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 6572A62566; Thu, 23 Mar 2023 09:23:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4F5DC433A0; Thu, 23 Mar 2023 09:22:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679563386; bh=2cBYSF+JamtgsUh/BOUyBseGRxUzFBktadFA1PpPvNk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OzqUXRJvV5cHhhxpEQ76d0VmU9uuByNR8pcfw0l9ZT0pUxGdp9gz7IOdJ66R8dqXw 5FnZFyrNaxWOzoSbHrQ6/ZDGPnxAxYDl2BnY+xWiqOGURfr9e2VkCnrr8L9Gbjfwpc HOlDenrpg4JUs2TFkXkOV7O5LYl6nEsPELlOlAv9iHXU4q5POu//gt+gKg5uP+Ny9L o5o1k5mpI2e+4t1Js33KwBaCT3bLrYzUiQxXWh1vfyrNCqFtV/ZQu1hQ/eSNGKtd31 PavpmOfvieMQUnvC+CwhHR9pKI4cbxwUVVA+Umw8wBJoMrORkoopTP9wnn/sWxuy4K eN/4aW2yBGF9Q== 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 07/14] nios2: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Thu, 23 Mar 2023 11:21:49 +0200 Message-Id: <20230323092156.2545741-8-rppt@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230323092156.2545741-1-rppt@kernel.org> References: <20230323092156.2545741-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?1761150666237544616?= X-GMAIL-MSGID: =?utf-8?q?1761150666237544616?= 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) --- 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