Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7310760rwl; Thu, 23 Mar 2023 02:27:29 -0700 (PDT) X-Google-Smtp-Source: AK7set/ev9nBr72M4zBl7VFQcvyOFgcdJLrtcx70Ql8exl+PqSdKYb0XmQCSCyq+mT8zBvVyZ/K0 X-Received: by 2002:a17:906:33c7:b0:933:9f43:5c3b with SMTP id w7-20020a17090633c700b009339f435c3bmr10196358eja.59.1679563649100; Thu, 23 Mar 2023 02:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679563649; cv=none; d=google.com; s=arc-20160816; b=XoG2VyuwcFt6meWUsvb13V4AwfviD5llSbnJ8u0lEVvi2NFInc6+YONnG3pRAJw69w rJosEfnPkyr21xF407MRvmCu3pXPRf+sY0IhjXmoJKLexOWoLN07TJEKclKNOnGFH2/7 8XZwrnwdWqU+nSDqjFaa9M28WMQBE8sCiijKYvL7eTf2C93poZ6s6evzIYvkI4oCAZBW k4elg+0GOluxWkR4NjMKrrEBPzq5YPDCxww9hDl++M7HONeNbYzCJb/oNR/GDOI1AWef 0il3am7nzPZciXHvAu3ThhMElr0ne3Uy9sTptTmCyLRlARIiWWoZy/mV6aHsSOVjMMwk 6qhg== 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=6Ech0t/2ME/zzdRLjhS1xRbvQgY150vgCsTFSScQM/E=; b=L22F/dIxyijwMRv/2k+AnLQlT+KUr02H4g9A4UeBO2yiSUthewcIwkpvHU6iECvBA7 1UxNrUcb2iRbktfwtI1erfwVriS4mTcj9TQR/5NlOj5z4PlujVsuattTV8A31Ie81Xta 04vJCVCn6sWUFP3YhzlA1uGuIwoMerZxxAZooREmjI76KDe/vjMU9XCZOJ+fIoeYY/du XIdNkGewQ4yfUtFeEdtQ36LtIIad0EJtJ6cCoLzWMrrQ60nquBmDsy0rTaS2Baj6USI0 BFmdI1ug47o77cVemGMtm3f3whWwCn/ipRMU2LdIo6MV40KorFvB0tmd8LBmrJwzrH+s UAUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OZZcT6du; 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 qw23-20020a1709066a1700b0093a9258f5e4si6607716ejc.358.2023.03.23.02.27.04; Thu, 23 Mar 2023 02:27:29 -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=OZZcT6du; 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 S231454AbjCWJWo (ORCPT + 99 others); Thu, 23 Mar 2023 05:22:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231511AbjCWJWg (ORCPT ); Thu, 23 Mar 2023 05:22:36 -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 44AF71F4BE; Thu, 23 Mar 2023 02:22:31 -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 02287B8201C; Thu, 23 Mar 2023 09:22:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3258C433AA; Thu, 23 Mar 2023 09:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679563348; bh=1wuMjPglrXxylZYRQp9g6PBGTaQCsIyJmL4MjyDfkT8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OZZcT6du5dwua6qJE5uCEiu3Bbh3Q97TquC+/sYNXkmdypc+bsLGDW93XoYEnZ4mH MSoFTjH6bKTl3fsgQ4Bc3SK5VaWp9pBpu5SvZo1sRyf7bml4ql3CzkUro6OsghW0vc Oy90Vtp+PuM+H/Fs7+pOeFq6VXb7ExvoCICIAZhSBN3LP0NP130lo2YGBKKTONyDoH O4a++hJhMH5PNPPUpgd9/coAlzQjl3AYohwmcVJY6mAnGbnI5g5nhBGeR+cfm7Ukr1 7eEmM1z6tUZiEn08emyl+wuY10m5eYRrfMvZd2JFyNi2MsejH2NoIL8GFXLAlQ90D9 npeRgo88+OTgg== 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 02/14] arm64: drop ranges in definition of ARCH_FORCE_MAX_ORDER Date: Thu, 23 Mar 2023 11:21:44 +0200 Message-Id: <20230323092156.2545741-3-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 Content-Transfer-Encoding: 8bit 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 From: "Mike Rapoport (IBM)" It is not a good idea to change fundamental parameters of core memory management. Having predefined ranges suggests that the values within those ranges are sensible, but one has to *really* understand implications of changing MAX_ORDER before actually amending it and ranges don't help here. Drop ranges in definition of ARCH_FORCE_MAX_ORDER Signed-off-by: Mike Rapoport (IBM) --- arch/arm64/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index e60baf7859d1..bab6483e4317 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1489,9 +1489,7 @@ config XEN config ARCH_FORCE_MAX_ORDER int "Maximum zone order" if ARM64_4K_PAGES || ARM64_16K_PAGES default "13" if ARM64_64K_PAGES - range 11 13 if ARM64_16K_PAGES default "11" if ARM64_16K_PAGES - range 10 15 if ARM64_4K_PAGES default "10" help The kernel memory allocator divides physically contiguous memory -- 2.35.1