From patchwork Thu Mar 23 09:21:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 73926 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2806635wrt; Thu, 23 Mar 2023 02:27:32 -0700 (PDT) X-Google-Smtp-Source: AKy350bd38hRFoEgktaztbx88McuTFtHb1brTpog1c6XElgAU1IRi81oC6vUGDKQoK1qP1ZJ5Mi8 X-Received: by 2002:a17:90b:1c84:b0:23b:4438:e9ee with SMTP id oo4-20020a17090b1c8400b0023b4438e9eemr5084399pjb.12.1679563652292; Thu, 23 Mar 2023 02:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679563652; cv=none; d=google.com; s=arc-20160816; b=vfdtqxHwCpz6zqq7giCMDfHP11KBU2hTKbn/UQs6/rSlMUrx9rGp3Ln22NLgcXtMxd 2gQb/hb2Za4uYQtNSOlqBPuIeWRpM1Sjh7AQgxxDl0zfyg8YuaarlvgyLf8tVMNOK2lC L9uO+646mwzZ4NB4UHd+OGpWxi6HaouKs9bdjrDGsqciuTpG/S0YJaOO4a04KLDpZSjx UOwg2IC+0/p3ZksyboLn6SRFMrDXLSeWwUJakLiYIeCb3GDu1aR6rqI/hc1oFzh0r0T2 fFC4SXhvSMS/Y8+0BYcRraksFKfZv3BRRNT2Op17Yb4QXphuIpfVlcVAshpxGELn4SX4 Ertw== 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=8sH59JOq+2C8eAXmnHKJIV10PXo476Fvg7+gmwbxyo0=; b=eLjTESdoqgVOKkatnKucnGNMs98onDrjODpGNoBK3bhYs9SVwuRiTc8/ZuBAZjaVXm DdHoFIu6e3kG4u3o18TmHLUQekjGXWIrjKBmg9j0N8+jR5PO8cETMDUAnw65GEQk3rFe cu3Mdx8URGZWQbXqjvDCmDuVhU9Vkxuqh2iwYKroBs14vT9jUSSEo1clXt2nn52m5L4F K72/ZEWYv7MDooDGN4WqFDUqPNqoIWlxn+va46O2bjGBakfua+SDgUxbqwEhFLVh+cDX igFe/NIKkPOV529K3R2E83zUWjYzlxQ+8jPjMtL64vpT5UpNCWlEAQqIUi6slk5KV4h/ HZzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vRT1J299; 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 q5-20020a17090311c500b001990dd91a9csi18919406plh.199.2023.03.23.02.27.19; Thu, 23 Mar 2023 02:27: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=vRT1J299; 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 S231666AbjCWJYI (ORCPT + 99 others); Thu, 23 Mar 2023 05:24:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231664AbjCWJXB (ORCPT ); Thu, 23 Mar 2023 05:23:01 -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 63E7A21A01; Thu, 23 Mar 2023 02:22:54 -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 D7FC5B8201C; Thu, 23 Mar 2023 09:22:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F0E1C433AE; Thu, 23 Mar 2023 09:22:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679563371; bh=Taw/mVGmMzfFA4/zjWlz+sOR+xqfdhkwF0DQ85nhoys=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vRT1J299K8QpI00sxZv59CyczO6p0SWP1wcHAQk8mghcdKjhLznndromKwnUtlkrM SRWyev3rVk+6CoxTsdqVockaQN2ib+Nl4FHOvmR+E/SjJe1acNEz6Z4GFuyF6GLjfd NuLmQu+LCOGDTIOxUdJKu3y2Kol4WBMAdYu5dp+Zj49J79N9Gzs8fUFCVhMdAWtkR8 Ee5XTvH/Aq3cY4DQROJ2COFMOABNcorPOEkkywcg034jyqoHf/3OREMiGZ7q6+/cP7 pO8gCgPnpv6P2h41m6iFg7ve1OatfexcxvMd110cY4RS/B3xhHDbjx1NZErU4piC14 QCF+7aV9m+NqQ== 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 05/14] ia64: don't allow users to override ARCH_FORCE_MAX_ORDER Date: Thu, 23 Mar 2023 11:21:47 +0200 Message-Id: <20230323092156.2545741-6-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?1761150136412049687?= X-GMAIL-MSGID: =?utf-8?q?1761150136412049687?= 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. 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"