Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp6007115rwe; Tue, 18 Apr 2023 15:16:51 -0700 (PDT) X-Google-Smtp-Source: AKy350bMjcP6vdlMlJ4ZiAfpDIB1GAG0vGg4BOdt2LhOMDRh0J2cVLxUiKQEYOP0U7McEr4N1Dyq X-Received: by 2002:a05:6a20:4322:b0:d9:237e:9d08 with SMTP id h34-20020a056a20432200b000d9237e9d08mr1284234pzk.3.1681856211605; Tue, 18 Apr 2023 15:16:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681856211; cv=none; d=google.com; s=arc-20160816; b=UBFIL/3eEtmLoTokjFM8HIgniQoPGdVFZPenYBE9Suvv8DxlVYfWsaVpQ8GZEmrnU5 mn0PTplKU32uvxBkDGHnElkiu68J5gKQ2+TPJYf6LuuKHHcpDG2eet1nsvCznUlEd6Pt Qo2FWsF4criLdJGDt4qmwEgHSdpOBrmJxoKFp0F90NA+kQWVWJ6uowq0OnX9eKoAoqrG K/dYlaXjqL9IZhCU48RzoHigd5/dA8Yc+Wl32kXTs8J+UzZitOtIGwnC4KWb18v3AumC ZWLxg5tiHPl/CROE9AkwIzhp+USFRtVVd4V4OLBmFPowsS4VvAr0O+yhiFL8184Pb+qI H5Qw== 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:subject:cc:to:from:date :dkim-signature; bh=y8o7K7+tJTN9aPBv3yYC1a1uzvFwQp3mmAkVOTLA4Vc=; b=QICIvLekRu/hTJvDzgv1mVqTs7g/BExiYMWFq4Cly+JuGZcuel4zWNgT7XFlpcz8+K CRtO5LKOc2RJCNN2IdihznRvMJPkRuYJobSVazmMPEVGjhpFRa4iyUkevnrfTiO0J5Q9 lppJa3X/1sBTBU0u7HDOpDiTUySzAAXDcp/5ixMZJIBEKLaRmPuXnr4Mh+5B1SZFvfhU wuprXlaT5RGXUfy5PzV2kyNNN32BwA79+00qauvOpr7ERmDIpSISRo6iKfdgD6hgMpMV alCQjJ8S0DvSgHQm9MBHRtjhhMt30SzM+cA+IWvgaEj11rn8g8tI+Q42TalKE/OrXQtu fe4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=dxQBhdcr; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i12-20020a63130c000000b004fc39adf481si15402915pgl.381.2023.04.18.15.16.37; Tue, 18 Apr 2023 15:16:51 -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=@linux-foundation.org header.s=korg header.b=dxQBhdcr; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233160AbjDRWGC (ORCPT + 99 others); Tue, 18 Apr 2023 18:06:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231522AbjDRWGB (ORCPT ); Tue, 18 Apr 2023 18:06:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E60A189; Tue, 18 Apr 2023 15:06:00 -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 041FE6157B; Tue, 18 Apr 2023 22:06:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85911C433D2; Tue, 18 Apr 2023 22:05:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1681855559; bh=4TzxYQM54gPj6fAMyI3AyBzp+dk5LpFT94Xr5/gjrX0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dxQBhdcrCQd5w9R2wn/07cf7rhZ8iADKh1CjHqyiIBLZHS/f7OVNSf/gt8KG0CR7h Oz4N9A9EESIVDc/zZIanRvYdJy6Kbh1WqoSbL45tIyDhAh0VZ2Gkw4aRGPne/24EZV EG4PhaKU8uuzDbgnkxxKnbzEtY58uWS7osG7BkGw= Date: Tue, 18 Apr 2023 15:05:57 -0700 From: Andrew Morton To: Catalin Marinas Cc: Justin Forbes , 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: <20230418150557.ea8c87c96ec64c899c88ab08@linux-foundation.org> In-Reply-To: References: <20230325060828.2662773-1-rppt@kernel.org> <20230325060828.2662773-3-rppt@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 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.