From patchwork Thu Mar 23 09:21:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 73944 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2809924wrt; Thu, 23 Mar 2023 02:37:15 -0700 (PDT) Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bXT7tVFQ X-Google-Smtp-Source: AK7set+uufz7etrARyXz0N4bFwwBbiqSyI8p4byWdOdWc7NBa6ibfJHrleAkUeYosCn2EfrlWkbD X-Received: by 2002:a17:90b:3ec8:b0:23f:7d05:8762 with SMTP id rm8-20020a17090b3ec800b0023f7d058762mr7130416pjb.23.1679564234865; Thu, 23 Mar 2023 02:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679564234; cv=none; d=google.com; s=arc-20160816; b=OAcx8C8TlSB7nqz3tfElrynkzEbxhWqHFNq48ocVn5pDrKSfuMqWMCMHIHpEi1bMbY 3YtkrMmZtP5S8Zlo+1BIG/ZXAbW6KgZu/HlcSlpwcUmWjSyiXv+TCouh1MZ/F2b+Scsv OMVRvB7uHf34vO5WOqaT33BvKmdcopjEk5ZdVkBbzGU6L5cOPM82WeGw2ivf4wPhzECk koeHBWQi1/aGoZjAv5DY9yN71uuu/TkSxYjdLv36RRbpGXz08SSFS/vKYzd2uTKC5kYj BcrBr6MGaNSant3HcpXWqRI8ffenuxlmQCz7/NEvoyBn18BD+ggX0lZSZl8GHVyQRuSy EHiw== 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=7vJvYqihbaZZxSzTlBL3/w/w4YY5wGGwCSp8sD393ng=; b=XvB9VrOjR+X2eU2oA52Z/+eTh0wymw+NlIlzSM5iP7wZoTDItlc96xKyj8KlYep2zE 7uzUwA6Xo+WnObv9liEpQBXWMGL237I57S8Qw+SIJkQJaZLAxoKbVOJWQYTxunJ6XGAf 0hlsHkDuBexS0HWvIN5tcQJA0as9pQ6+EJ1w13jnOosgdYTHtEjiV3BdARbRR2xF4BKz oksEE4uQmnqds3wKciBU3hwaZ9VAZsHPxw/7thSUgyqeG5r4mWV6HIcKi4PMsBheRTPR U1jY4C8K6U5zS/s95D1BSMcSpJ/JeD04HJVMeiXkDvpoMAmbVyZMN1fF8uxHCIevPUQN NjIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bXT7tVFQ; 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 lp13-20020a17090b4a8d00b0023d2847e355si1669119pjb.0.2023.03.23.02.37.02; Thu, 23 Mar 2023 02:37:14 -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=bXT7tVFQ; 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 S231483AbjCWJ1D (ORCPT + 99 others); Thu, 23 Mar 2023 05:27:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230310AbjCWJ02 (ORCPT ); Thu, 23 Mar 2023 05:26:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A24541E1DF; Thu, 23 Mar 2023 02:23:53 -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 E71C362566; Thu, 23 Mar 2023 09:23:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57854C433A0; Thu, 23 Mar 2023 09:23:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679563432; bh=h6B+59Tw/wfggMAxASThb2CqM8SDBv67+wW2LDMN9Jw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bXT7tVFQRhfcw151cmushy4biLsPbWo6PzWcZLPclsdZZu0AHI/gHXPCin5Sg9iiA 2jk1L0YVy7Qe/xDRPG5nOHZxPuEwCxatggeE5zw2R5dQXNP451ThM1w/k3c6D25V2O N+fe/J9ocQzrTj5ZRLDbYNoj8L7Fg7BoJUvOHZovfKRiaVzD97DUE5sICsn6MFA/LY pi2Jmg0MAtEvLy9L7TPVXS9dEOiqkceSsUxLk5XOUJZY6EZeficShFvwWbnG3PVgeZ ReZTduniWcIdQc0MmOkZSG5un3YfSersJkiDN7rNBFhp80ssYVvFAzH/URVEBtzC7R bB6ljs+LiityQ== 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 13/14] sparc: reword ARCH_FORCE_MAX_ORDER prompt and help text Date: Thu, 23 Mar 2023 11:21:55 +0200 Message-Id: <20230323092156.2545741-14-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=-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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761150747025110496?= X-GMAIL-MSGID: =?utf-8?q?1761150747025110496?= 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/sparc/Kconfig | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index e3242bf5a8df..959e43a1aaca 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -270,15 +270,17 @@ config ARCH_SPARSEMEM_DEFAULT def_bool y if SPARC64 config ARCH_FORCE_MAX_ORDER - int "Maximum zone order" + int "Order of maximal physically contiguous allocations" default "12" 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. if SPARC64 || COMPILE_TEST source "kernel/power/Kconfig"