Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7312333rwl; Thu, 23 Mar 2023 02:29:32 -0700 (PDT) X-Google-Smtp-Source: AK7set8q5WEQueR0ttcGyod3QDVw2SkRkIhkWppBm0fE/qx2lWwTgNhj+gj5zi1pcQ5z8LDt2uzI X-Received: by 2002:a17:906:a098:b0:933:12d1:d168 with SMTP id q24-20020a170906a09800b0093312d1d168mr10763018ejy.10.1679563772715; Thu, 23 Mar 2023 02:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679563772; cv=none; d=google.com; s=arc-20160816; b=qMv8RnJu/E0H+yE6nbQJO0jvK23arqMNuGG+kHCeDCx6kL1Y4qecFWmb/IgasErM3/ qVCEZN96AlTaVV98dNWXFLWLa3V1TJRfKqNl1DCGC4M0VL6vCLlL3pwG4vI2YpKA/i8h ZybkUNMNJhFYuC/h/JPFSDJ7hA3a1nHNzMVFBTdulRHil2QX3fM4Zd/QaZZevZSvJ020 x8Qq7YOvyBA7ZUsoOsiQGsMQlYis7SQCNuCIifN4d/uIhrp2tJLNo7NAQ8t3d8JcaB6Q arRa8jXBOzi9WtwgsVppuAMSUGx9FY/iSyBauBwELNCE2ZqnuOleNzYb/iycfA8+y9rm 9CQQ== 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=H32cuQ3SphckJ3aDr/4WYGo8VXam3pofa2cEPa/nrF8=; b=dyTSsACc7u7LY82VnHv9TB7uN9qNhipVPRqP4XxLS37oD8nTgFANMzd65Rs0bzljvY iPPzWX8VPwHZ+6eBPBXwLhVZS+CDw0uYqD+vT5zhdOl4Rx6BWj7LNcUyVzqlRUklqH2p JxtezeqBg3QqdVIz0OJN8yJDshUs7AVaVWKMvPTJLbLJGdjaLtpT3zCbTU9y2a4/KwUA 4gDd1ndHMaKJp/SYezWvZlCgPJE7Q0ulZxaVLKH5E1lWnGUUd9uFE6RnZuWpd5zsRsTZ 44Vm42/n77EmGKj+WA0ZM3+mHVLAJWIcEAGUNcJAZKVPG92YPFAmHaA91aFYftg0Qeqi 4EwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WIWeaGhk; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s21-20020a17090699d500b00933356c0d7asi13493744ejn.532.2023.03.23.02.29.08; Thu, 23 Mar 2023 02:29:32 -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=WIWeaGhk; 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 S231591AbjCWJ1R (ORCPT + 99 others); Thu, 23 Mar 2023 05:27:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231292AbjCWJ0e (ORCPT ); Thu, 23 Mar 2023 05:26:34 -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 46A8B23329; Thu, 23 Mar 2023 02:24:05 -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 47B10B82035; Thu, 23 Mar 2023 09:24:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4E88C433A8; Thu, 23 Mar 2023 09:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679563440; bh=cLED8RkguNRC7M0dLtOL32lQLdxQxLek8h+Azi/Gy6Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WIWeaGhkdAVAFsei9Bza8wkj6njjW2uuNU19Ix52dZIy4kTovKxu2Yzdc1Dz5INgk 6Pg8B0dxqUnQqAGPRddvXBDr04oxwsZgfgMfgJcU2jrpRxwEnlQEkRrI1EaXpZ/Sd3 J1R1AHdgpJEjig/ZCiDv6lRb6moY7coIH3tSLS9pooMmPjppzT+nQQhT/DWOAlRgqO qm0cc8RB1yphHkpFQoCij3s1dldJDU1nXnNLUsJgMOQ4HfK7QoHZuhf2AiVIoE2wS5 yFRQUoFek2mX0QhpEnHG0I8VwxyFZGYOyQDQfZMNp/sVEaoPdJET5/f6iAfGlVUfv5 tjTM9P6gnulFg== 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 14/14] xtensa: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Thu, 23 Mar 2023 11:21:56 +0200 Message-Id: <20230323092156.2545741-15-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 Content-Transfer-Encoding: 8bit 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 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/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 -- 2.35.1