From patchwork Thu Mar 23 09:21:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 73932 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2807377wrt; Thu, 23 Mar 2023 02:29:45 -0700 (PDT) X-Google-Smtp-Source: AK7set9vfIxL8JpJ+XvEoiBhoI+QZsFgV6cMv5rlcs97Dtdk0WOalUb9HBXVOeuy5OVhHL2zjXag X-Received: by 2002:a17:902:d48b:b0:1a1:c746:7d6f with SMTP id c11-20020a170902d48b00b001a1c7467d6fmr6549335plg.53.1679563784772; Thu, 23 Mar 2023 02:29:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679563784; cv=none; d=google.com; s=arc-20160816; b=VijBkKIc9zdzdE9krJT1XRyqPn44o/sn3Koz2T03VS+vHnV7/Jg/mOuyPL/WPRkSFw DNaxd06FolND0RPC6EFk5RMbGRCGWz7YnTh8zV4oZOzc3woiWCgYRIeNgqlDqSRO7QBZ kIVmszV6y9oeh2HvZ1DdFHL5pdeJoT9YhAZct8o5C/AwW/Ugv3aC2vm2291n5AKzW7HY HOoLKLJ1vxaAa9BPR4ovNqS32h0Jx8EoytxZ8Yx50ZYeoVMGwxmtDfptYJsZNQf1z98d YyEwgi3eitiQ5fIJf5XThk2EASqE8PhywQe20PQNoZ4qfxboiAXFGZkwJn3qMMWDtrGq /Cug== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r13-20020a63ec4d000000b0050be42c6f04si18140736pgj.539.2023.03.23.02.29.31; Thu, 23 Mar 2023 02:29:44 -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 S231436AbjCWJ1S (ORCPT + 99 others); Thu, 23 Mar 2023 05:27:18 -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 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?1761150275585561322?= X-GMAIL-MSGID: =?utf-8?q?1761150275585561322?= 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 --- 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