From patchwork Sat Mar 25 06:08:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 74816 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp233801vqo; Fri, 24 Mar 2023 23:25:00 -0700 (PDT) X-Google-Smtp-Source: AKy350YYNLehsEfnwZM/iS4qKwmbdVjtgsyTAB2sueavtGAR5N37eDaR0brbVtWHFtwkLApK6VFU X-Received: by 2002:a17:902:cf0e:b0:1a1:b440:3773 with SMTP id i14-20020a170902cf0e00b001a1b4403773mr6549473plg.27.1679725500725; Fri, 24 Mar 2023 23:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679725500; cv=none; d=google.com; s=arc-20160816; b=lMLfGECmsGOG9oXUzZkYDgHYNUlziXp6CP71el+SoPgmIMNxfqt0th6gXydkLUrjdw r6HXr4fKm84Nnq6TYlhvXksZoG29pDj/AsW4MDZZWzd/YxVCXw0DuvyMFv6NbpE7Sv0t ziFV/rtcIvAYwzCKisnBj2hRUAYhgROL1cRORZZPhuKU7+Wz5rTAD338C5BzBR/U529k wChE4GmZQLq0QI/Z0adn9ZS11nVv3cE2k9vC2oMEnjXYomF6zzlYAdHhVe8SCQcwTicO /P9zCCH8YpHyMoBzC354jsLPGcHNGzvcI2WV0WyqjMg51slgbNJBhYmttKGS5Ah6bQYI CJOA== 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=8mePnRwSMPrZxyAe7aqCz3JdR1Ep5rNsHIMhrM68YZ4=; b=xeUskYeewAk0alh7AznPPxT+PWa6YOTV9CyXYV1iTJhcyUCxEPeil6F7BPxOGIhfMv X74S6zb6xXPa3eMijTKuaCgLqv9FjJbcLzLK7oVHg7MQU9LbXCvkeqId31fHj296ntoO Qi/OGWYEFw0q28Y0yKz35HFW1p4BDwl4GV4PObjwy4UX/g8fRtpScMRiejhJyKN5h7jd naJlpS8lVaTQZIqaBvxlAO7gC39gSYEeAkCoFqxM1rvtv39naG+CyTIqXLpuLZJRwHHy fXjeSrdmanVDzDsFbZhrvtbPjg2J3oruv+ihhBQopQJ+u9vX65uYxI6RB6xwmdnrXIQj Bphw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MMKlT72m; 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 v25-20020a634659000000b0050bcf249337si20949585pgk.502.2023.03.24.23.24.45; Fri, 24 Mar 2023 23:25:00 -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=MMKlT72m; 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 S232235AbjCYGJx (ORCPT + 99 others); Sat, 25 Mar 2023 02:09:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232322AbjCYGJg (ORCPT ); Sat, 25 Mar 2023 02:09:36 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA06D196B7; Fri, 24 Mar 2023 23:09:23 -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 A9497B825B3; Sat, 25 Mar 2023 06:09:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D33E5C4339B; Sat, 25 Mar 2023 06:09:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679724561; bh=i1yTqNQJAv9j+hn+e6Je6fypgZ2V4l+VQdL1xKFdNt8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MMKlT72mhQ2PYx2QKkpW7HIAd5YEdN2UUzXyp5OPY+RVH81GJReBKAnOuYcH/8N4l WOHExhClj+i4GsKcl4zdXGJ/CprKpWL0bI5GpGBCxZyea7sKd2OIYtrtZiy90mx7iP 0qHiAZsnOgHMoi72FY7hEINbeJBOh3/EeS8V3nvmVCzKqUV6n6DBCHHXTLE1AWz3Dq 4GoZvWhAYCKBEXH9aJN/k8T3WtR2fD7HwWoTTYdoUdw7nbJQTNAsVr3z/1/BqnLANs D6+61HAH1iAjlONcqOhnWOyQ0JjCv+vYxkn4cq7lC62id+2QwXz/RT+SPOr7yLWLT2 2GhWUJOebp2pw== 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 05/14] ia64: don't allow users to override ARCH_FORCE_MAX_ORDER Date: Sat, 25 Mar 2023 09:08:19 +0300 Message-Id: <20230325060828.2662773-6-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 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?1761319846739478317?= X-GMAIL-MSGID: =?utf-8?q?1761319846739478317?= From: "Mike Rapoport (IBM)" It is enough to keep default values for base and huge pages without letting users to override ARCH_FORCE_MAX_ORDER. Drop the prompt to make the option unvisible in *config. Acked-by: Kirill A. Shutemov Reviewed-by: Zi Yan Signed-off-by: Mike Rapoport (IBM) --- arch/ia64/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 0d2f41fa56ee..b61437cae162 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -202,8 +202,7 @@ config IA64_CYCLONE If you're unsure, answer N. config ARCH_FORCE_MAX_ORDER - int "MAX_ORDER (10 - 16)" if !HUGETLB_PAGE - range 10 16 if !HUGETLB_PAGE + int default "16" if HUGETLB_PAGE default "10"