Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp665707rwr; Thu, 27 Apr 2023 06:44:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4hT+rWEOovxgNYt0GOe39t/pRQ0sp79ED6dYiBcEO96b6yHcsyHVi4pCFZtf1zVUmzZldk X-Received: by 2002:a17:90a:34c:b0:247:2baf:d6f with SMTP id 12-20020a17090a034c00b002472baf0d6fmr1844626pjf.0.1682603044461; Thu, 27 Apr 2023 06:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682603044; cv=none; d=google.com; s=arc-20160816; b=tdNP/q0QuUGGKW+vP83ZV9mWHFKQ2BR8iQ3rNdzEXIst75N472O78smXRpKfkHbOi8 rxoKRdhrTRYX0WAPyzzS8qqkEefhbBtYNpW9mDwFGagTnLre4CyMwnuttLQTR/Qd4WpS tIEchK8AA68CtuL2R201S6ZS9za1ggg/dLy+feIv9iW+VYFd4b78dANSzGNPErNGlDB3 7GD9SsT1NXNP+ce36Zp3iu5ASVa7UmdPUbl+AsBvdXsfnnYTHcfqiJMetSbllC0eUm6V bh9UZmx9siDgLuxHvPkhFp2Of1jSVjngr8gjgIiQ2yZpViJv8b+xj6C28tPcnNS4fqdy GYNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ri5ExrU+tXvqSYKdGRNAMNXg24iWK05vtQVc5m3M7UI=; b=zcY5dbu17ViYyvl9QgmxT7ZwSu2+rO1GW2xfaZXoDa6CZgiCMbuASCUSkxTW+0ibBQ uGeV+qUGv+Xloug4eN7AUGsNg61XTIy+qgwof6T3lRId/rajR4hHGRnk178ecx0HU4Y7 6DaCpWfV/foHDXO2kl2GvmxlPXXFA+tW2+9w6kaiI3H4HSLCZh9+vC5eyKRcEUIq9jcn DI3UxQtJ5ZGks2g540AmztbVLpowe2jdEzlgNfqeeTV9HOTP9GS39jAoiiOmrXEb9TuX mDPgn0vjO+Is3w6/5Gcc4TXO/+YX21QTo1qB6eLllfNdM8p0Lm/65qpDzUfBx7GrmzUH huiA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v71-20020a63894a000000b0051a24ba4d74si18137789pgd.837.2023.04.27.06.43.51; Thu, 27 Apr 2023 06:44:04 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243371AbjD0Nkd (ORCPT + 99 others); Thu, 27 Apr 2023 09:40:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243467AbjD0Nkb (ORCPT ); Thu, 27 Apr 2023 09:40:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5882644AE; Thu, 27 Apr 2023 06:40:25 -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 E45CE611B3; Thu, 27 Apr 2023 13:40:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF907C433EF; Thu, 27 Apr 2023 13:40:19 +0000 (UTC) Date: Thu, 27 Apr 2023 14:40:16 +0100 From: Catalin Marinas To: Justin Forbes Cc: Andrew Morton , Mike Rapoport , Arnd Bergmann , Christophe Leroy , "David S. Miller" , Dinh Nguyen , Geert Uytterhoeven , Guo Ren , John Paul Adrian Glaubitz , "Kirill A. Shutemov" , Max Filippov , Michael Ellerman , 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: Re: [PATCH v3 02/14] arm64: drop ranges in definition of ARCH_FORCE_MAX_ORDER Message-ID: References: <20230325060828.2662773-1-rppt@kernel.org> <20230325060828.2662773-3-rppt@kernel.org> <20230418150557.ea8c87c96ec64c899c88ab08@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Tue, Apr 25, 2023 at 11:09:58AM -0500, Justin Forbes wrote: > On Tue, Apr 18, 2023 at 5:22 PM Andrew Morton wrote: > > On Wed, 12 Apr 2023 18:27:08 +0100 Catalin Marinas wrote: > > > > It sounds nice in theory. In practice. EXPERT hides too much. When you > > > > flip expert, you expose over a 175ish new config options which are > > > > hidden behind EXPERT. You don't have to know what you are doing just > > > > with the MAX_ORDER, but a whole bunch more as well. If everyone were > > > > already running 10, this might be less of a problem. At least Fedora > > > > and RHEL are running 13 for 4K pages on aarch64. This was not some > > > > accidental choice, we had to carry a patch to even allow it for a > > > > while. If this does go in as is, we will likely just carry a patch to > > > > remove the "if EXPERT", but that is a bit of a disservice to users who > > > > might be trying to debug something else upstream, bisecting upstream > > > > kernels or testing a patch. In those cases, people tend to use > > > > pristine upstream sources without distro patches to verify, and they > > > > tend to use their existing configs. With this change, their MAX_ORDER > > > > will drop to 10 from 13 silently. That can look like a different > > > > issue enough to ruin a bisect or have them give bad feedback on a > > > > patch because it introduces a "regression" which is not a regression > > > > at all, but a config change they couldn't see. > > > > > > If we remove EXPERT (as prior to this patch), I'd rather keep the ranges > > > and avoid having to explain to people why some random MAX_ORDER doesn't > > > build (keeping the range would also make sense for randconfig, not sure > > > we got to any conclusion there). > > > > Well this doesn't seem to have got anywhere. I think I'll send the > > patchset into Linus for the next merge window as-is. Please let's take > > a look at this Kconfig presentation issue during the following -rc > > cycle. > > Well, I am very sorry to see this going in as is. It will silently > change people building with oldconfig, and anyone not paying attention > will not notice until an issue is hit where "it worked before, and my > config hasn't changed". If EXPERT is unset, there is no notification, > just a changed behavior. While it would be easy for me to carry a > patch dropping the if EXPERT, it will not help any users building on > upstream with our configs, whether for their own regular use, or while > trying to debug other issues, I expect it will result in a reasonable > amount of frustration from users trying to do the right thing and > bisect or test patches upstream. As I said in a previous reply, I'm fine with reverting this commit if it breaks existing configs. It's only that Andrew had already queued it in his tree but we have time until the final 6.4 kernel is released. That said, would you mind sending a patch reverting it (if removing EXPERT, I'd like to keep the ranges)? ;) Thanks. -- Catalin