Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp161044rwl; Fri, 24 Mar 2023 23:26:03 -0700 (PDT) X-Google-Smtp-Source: AK7set8QiIYs7yJr6Tg+2rU87r328Mb8D1a10h4BQQjTJ2zj06liQ2v2aozfP7siJSkBL81GMlft X-Received: by 2002:a05:6a20:4c90:b0:db:22dc:23d with SMTP id fq16-20020a056a204c9000b000db22dc023dmr5022043pzb.5.1679725563639; Fri, 24 Mar 2023 23:26:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679725563; cv=none; d=google.com; s=arc-20160816; b=mSkNKhJfu0/s6gsAAZxWVUurDo8/7TnuU96l6bJqvlXL8nFwuOuIoTApbxudzOY7IC 27jzK1sh36JMmiVw++qL3EDOKjAW79HnAG5oP7/LTFQk//lEVdsVrJBVvXreS8cQpVZo nG+OCBIdIpIMOVBjsBpWZN44V9ZmAOmG3WRcKgqTTYY1GdV2Pjb98VtIdhoNcryMOS8a Yh+y5U/1FGSsCC8SbolscE4g2MiHD9CaALUuyS30paYaUB9ps4DZ9kcaWtmAYhLPFehQ gpZrQNRMhNgvwSxmMRgahXUSnHpbfts+an3L+vu+LP46hYekV+qtdUU9D/cnQE07ptDg cU/g== 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=LBPYvwIdcP58K1MlidkM6fUOXznC7Vq65cJSinR7cXc=; b=IpHDE+mkot8On35N/KuQDQj0lnyJ4RX7xtLDS6QBJO8esbLKRY0wK07RbB2tagoVrg 83uQHZXDGi+WoB4sipKuQoJE6/FCMtVidZwGYeuNe5sbij+RnZ0PwqEBYDRFQIv4dYTU OTzPnNqE7Zmzkl6/cn01JX6qOtXRZUqgxi76hO6C7lEwbHU1M2r+OW6z/wzhv3tj6iI1 imFUCUdlzHWE2rl0db15DR0Mp5RESDQxKJTl/VlsnW8zulqnhK4Lkyv8tllYWY1Nog44 ojro/7ZsSpDqyIxTYFXfQp27i94Fr9N+IsroWrH0SXx+bBeq20DGz6XozYr8luWP2gAO sfBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XBUYd1wu; 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 q14-20020a056a00088e00b0062597362b79si23868653pfj.5.2023.03.24.23.25.48; Fri, 24 Mar 2023 23:26:03 -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=XBUYd1wu; 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 S229562AbjCYGLz (ORCPT + 99 others); Sat, 25 Mar 2023 02:11:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232010AbjCYGLX (ORCPT ); Sat, 25 Mar 2023 02:11:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1935A1ACE3; Fri, 24 Mar 2023 23:10:27 -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 9320D60A22; Sat, 25 Mar 2023 06:10:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C424C4339C; Sat, 25 Mar 2023 06:10:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679724626; bh=hCVCDYSIUr+qW4UF3Pu0/8IeYl4ydz564TXJ6RScpmY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XBUYd1wuZ6QOfdcmSr87gRlsMsVV6FBPdIqQHrC3pqAHxOY2DIdF+XDvKoUtLcdnY YymUQInh+UCF4ZGCw4T6Y+Z/IhTvXn9NYU03GXLWRksPUoLzP+eevHP2twu9nwF/kt eOcwijKtLsxk2+/F5k34QVqplP6njWicYTWEb7ErMx3III6zx8dW9FO1/oDMujzPni vjd32oMZKSpAJmWoMmw0HoPy9firOqMSOjpEWDYToYK+vpkdSTUHG7ZtqaX8c39a/T fOjqka2MCZIjCqrg05vs+aCtbzGpK80SATMzTT0ifOqgqyrhOm5UuCOO/e80toO7Z/ HznUBqM4Me+zw== 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 v3 14/14] xtensa: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Sat, 25 Mar 2023 09:08:28 +0300 Message-Id: <20230325060828.2662773-15-rppt@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230325060828.2662773-1-rppt@kernel.org> References: <20230325060828.2662773-1-rppt@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,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. Reviewed-by: Max Filippov Acked-by: Kirill A. Shutemov Reviewed-by: Zi Yan 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