Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7196411rwr; Tue, 25 Apr 2023 09:19:46 -0700 (PDT) X-Google-Smtp-Source: AKy350ahBYBke+NCInOrA3bVXhP4gxHTNOHyQ3AHhd1AwxD1wNbTIzTU89llBWw0xyquG2PvdE5B X-Received: by 2002:a17:90a:2cc1:b0:247:48a1:3fb2 with SMTP id n59-20020a17090a2cc100b0024748a13fb2mr18537721pjd.19.1682439585765; Tue, 25 Apr 2023 09:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682439585; cv=none; d=google.com; s=arc-20160816; b=K1AepJ7AMUFKX2y26mdRo8ffOuj5FJc5DwuPMeH5yNcsGn2OCAuRKkAOE8wNPAK8jQ m1u8y4Q3SyiX85hegPcxQEy4Io6whHHqLUNUddxmEj26/AqxG4ei6VoLaD3BhE9Io1q9 Tqvc4TiLwpJUeW+36wokzLcxJTUCzUYSDa6euQR/dveFnqsfzpX32MeWCmNAy1M26jo9 7cTAhh4LzwHqEogjtOLe3wTt9UOK1va4Ci6Rx9xha7Czj9VZXPNC5gKSJNVywADUF3hp tpBBrrl9E8mHXRFrmOpDXehSlZ1aFGgNEdMt1IHavFKmjcClzpMBEXv+/rGEty4KOWzm KQ9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :dkim-signature; bh=gzBCWhkUry18zVOWXW5QyNYiFJMq+EJv8KjCsvLzxVI=; b=Fcgrf6yuTlWMUbXBpCHyEnpDOx0R3NperTjR/QgF1dWuOcKr/hfclUX5OTpbE4Jmvq ATkkhKqK8J112Dz8xuZvcfNgHHKUoZkczw9e1pL2EXzeXEa0VUFEJJI9tMv9oJQxycns LjO10W8UgjnepH9HwFqJTNVwycFd2Bks1sSt/zlRyo+JlMx+IVVdfCOAmZL9jHuQdMz6 KrRObAHvXGDz9TfxvZISC9tinO2ScXJCmalpXI1sQvU8HWxjlo5bP+YtCMULlJ3nzWDc SYcRcsBbuJvLmiM7N03f6VmPnM27Pbx2wW6a7IIAu2jJxT0tJX6gB0TGS9k0hPEK/b8R phWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxtx.org header.s=google header.b=QMkIWwlS; 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=fedoraproject.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lr17-20020a17090b4b9100b0023b481b8dcesi18101974pjb.102.2023.04.25.09.19.17; Tue, 25 Apr 2023 09:19:45 -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=@linuxtx.org header.s=google header.b=QMkIWwlS; 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=fedoraproject.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234712AbjDYQKx (ORCPT + 99 others); Tue, 25 Apr 2023 12:10:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234692AbjDYQKr (ORCPT ); Tue, 25 Apr 2023 12:10:47 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95E7815469 for ; Tue, 25 Apr 2023 09:10:35 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4efefbd2c5eso3191268e87.0 for ; Tue, 25 Apr 2023 09:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxtx.org; s=google; t=1682439033; x=1685031033; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:sender:from:to:cc:subject:date :message-id:reply-to; bh=gzBCWhkUry18zVOWXW5QyNYiFJMq+EJv8KjCsvLzxVI=; b=QMkIWwlSa1dFqjZNAvY1XABYARSvvJqstr6B3FBYxnYeEZbMDFWIcbcX289rr+ND5z ZQJCn1lqGn87wlPR/gIR1F+JWxMSOcLRF2PDHJ6MJTwRrd7AutqRm+TTOaEeBT3sRMYQ yzPmvWLbEoY0UXf2J2QHnMJHIPXTROKg9jOH8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682439033; x=1685031033; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=gzBCWhkUry18zVOWXW5QyNYiFJMq+EJv8KjCsvLzxVI=; b=Ju3p2a2ISg4X5RV3/ViTvY/GtRy3HaNBdBBtQ3+YGUWt3FWwfIGjTL028FZKOIN/Dp pk7Kg6NIWS+160O/NPO84nRcWrxKUjCJHS2CZFHPYlhqBILvvXES9AKvasGDvuRf05gw evhmWYXwZDEPaK20YEUeMhGmBLI0Nj3JUc86+xUM6PFkUXGZ5D9+6vOuxw+pnrIRxs3d w6Q8hPZc4i23+zSTaxBVY8Z+Agdbbj8l82uLxkD8JZJIF+BinPyOmer2MwscGy5Y6zGu x2B4xfeN8QBtjIYu0xrMl7A6UDO4CX/uAHA0IY1MF1qbVRShCP317mpgs7JMxXi9V3xv kTJg== X-Gm-Message-State: AC+VfDwWj4pFBoV3YgWoRTN4stYPk0oNnWgzx3my1FGk2TasxZ5Sd+LA 2Y1oSOn+3ysoCRRrUjSWUbpQYnchICQY1r+pK7Y1cmcN X-Received: by 2002:ac2:43d5:0:b0:4ef:f630:5c1e with SMTP id u21-20020ac243d5000000b004eff6305c1emr1307662lfl.51.1682439033567; Tue, 25 Apr 2023 09:10:33 -0700 (PDT) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com. [209.85.208.173]) by smtp.gmail.com with ESMTPSA id g2-20020a19ac02000000b004ec87cf6b69sm2143165lfc.169.2023.04.25.09.10.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 Apr 2023 09:10:33 -0700 (PDT) Sender: Justin Forbes Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2a8a600bd05so56849931fa.2 for ; Tue, 25 Apr 2023 09:10:32 -0700 (PDT) X-Received: by 2002:a05:6512:145:b0:4d7:44c9:9f4c with SMTP id m5-20020a056512014500b004d744c99f4cmr4233943lfo.4.1682439010843; Tue, 25 Apr 2023 09:10:10 -0700 (PDT) MIME-Version: 1.0 References: <20230325060828.2662773-1-rppt@kernel.org> <20230325060828.2662773-3-rppt@kernel.org> <20230418150557.ea8c87c96ec64c899c88ab08@linux-foundation.org> In-Reply-To: <20230418150557.ea8c87c96ec64c899c88ab08@linux-foundation.org> From: Justin Forbes Date: Tue, 25 Apr 2023 11:09:58 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 02/14] arm64: drop ranges in definition of ARCH_FORCE_MAX_ORDER To: Andrew Morton Cc: Catalin Marinas , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 18, 2023 at 5:22=E2=80=AFPM 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 yo= u > > > 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 t= o > > > remove the "if EXPERT", but that is a bit of a disservice to users wh= o > > > 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 range= s > > 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. Justin