Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp136224rwr; Wed, 19 Apr 2023 04:39:17 -0700 (PDT) X-Google-Smtp-Source: AKy350ZSe9ShHjg+a0d4tHmpJmk83XPs0lw+2Xo19oMKmMJgM4KI7f8MLPXe0xi+OGyYoPz2beAs X-Received: by 2002:a17:902:ce84:b0:1a6:983d:a1ec with SMTP id f4-20020a170902ce8400b001a6983da1ecmr5955196plg.26.1681904357333; Wed, 19 Apr 2023 04:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681904357; cv=none; d=google.com; s=arc-20160816; b=W5WGCMHiVZLrxs2vpZZ5uJqS5+aE+M07JY9fMmFC/VPPx3cXeKYo+4iCRj3Zb0jSDa WNz9Nl8tn0R6gtZnPbKrUypwIBhyry3Ahlcoxxn6BObnnYDQT5cOn9VFrBvOpX7J03bK mhdgKztlP0A9mwI39RTsDj6i3zAhn9aDCagAYm4ubiqhUxdAf7NCRTvaZ3anG9lnFvhb gniNc9GIynF/72PkFlZFM09IqNiZdo0N9P8rgNkm6hUwQ1DbiZSpQpXKSy7fSy0Dc3aZ Qw+4K9TNGDlNqsOcP5uIUBw4iDKgRQvL/QzxJSA5x5Gg9eiL5ZLJbD9I+hkh6Wwr4/81 4hKw== 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=8N99yfKqkNg/PzVluqPrnuo7/UXaVkUZ4pARZeRWAW0=; b=Gs2BaYzVr4bVeUFZ7i1gUIHFkqxfJ4pnyoz6KMM9dvOk25Lvc3ARDsi/blYBP8jVGH Yb+EWny9v++0nX2uQ0Jdv+BAthEFysITMoJVSuTNZYYLzmbmEctkhE2xQKVsp676tT38 B+2Oq8cPjbczAHYoxGGk9JvCKhoKiauvWWCX57Abb/7uDaCja7wVlx5gFuxSCUFh9UAW PT8cf1HhXneI/msJUbPYszTxxnyNgqCUz7VRajhdfSXegQJGcTbJcxwMnumXIbkepP+t e7zEPxly6uQ4EiNYEW46zeLC6Xb02Wi04fo2VymRSiWGfTzoiHLXYjMPYQrt+XNmdj1E 6JdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxtx.org header.s=google header.b=h+3Tomy+; 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 i6-20020a170902c94600b001a533803d60si16718390pla.652.2023.04.19.04.39.00; Wed, 19 Apr 2023 04:39:17 -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=h+3Tomy+; 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 S232773AbjDSL2K (ORCPT + 99 others); Wed, 19 Apr 2023 07:28:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231391AbjDSL2I (ORCPT ); Wed, 19 Apr 2023 07:28:08 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC6861BEB for ; Wed, 19 Apr 2023 04:28:06 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id kt6so42584721ejb.0 for ; Wed, 19 Apr 2023 04:28:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxtx.org; s=google; t=1681903685; x=1684495685; 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=8N99yfKqkNg/PzVluqPrnuo7/UXaVkUZ4pARZeRWAW0=; b=h+3Tomy+fZrVXH6RN/babMfjC3kI4c/tjjs+upF4u2X/jkiM2Y88CL0+Ndyv402wRA ZN8jK2RJQPiW1OrNQGOz0lJxhdDo0VxjNTL6Wi/rxTAXStbwCZ3oB5IF1CRRLFVGQxbQ T9gYcbmXuvxaBPI1B259kNHR7vtJA9q3ZKhrI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681903685; x=1684495685; 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=8N99yfKqkNg/PzVluqPrnuo7/UXaVkUZ4pARZeRWAW0=; b=JW5cE/M3VDWtkzND9u3H/qlNhAv1LbJQtlJj8tyLjyZ6zyBzocDgwSCh4gXJWjYPpV B4n9W0zxoIMd+SbpfmGkxu/8f2Faj1SrDYXX05MaEyHy13faDdqdiJPu/udA3klchlOt KVzHwASeS2Ir+xW8WbIqvoo9SBfwshDmsvRCGNfj3Vrxp+AYZAFHdWZ0Rd/E3K9qkatT 2gCiT2M53k4vlJbv8waHjMRBqoK12dpYciTdWt1TEmGYDjO8jSShRe3IIfUJRj2wQM1n JhQpWWa8CKRLiw/SMkctR2lPV00FtR4rNh5cg0Wmo36F+1BSla4PropfQNoiP5b/kCFp zvtw== X-Gm-Message-State: AAQBX9cA0sYCnssg446RaHmBZOJTayUttutJnTXfEGSW46UIi3V0i6jA 48xA/kJ+qKOKuO7OSPiscNK9vVUsVeWpvJgPJJYDg1NS X-Received: by 2002:a17:907:8c05:b0:953:1a7a:fbd4 with SMTP id ta5-20020a1709078c0500b009531a7afbd4mr5482066ejc.24.1681903684872; Wed, 19 Apr 2023 04:28:04 -0700 (PDT) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com. [209.85.218.44]) by smtp.gmail.com with ESMTPSA id sa39-20020a1709076d2700b0094f410225c7sm5304789ejc.169.2023.04.19.04.28.04 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Apr 2023 04:28:04 -0700 (PDT) Sender: Justin Forbes Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-94a35b0d130so735169466b.3 for ; Wed, 19 Apr 2023 04:28:04 -0700 (PDT) X-Received: by 2002:a2e:7012:0:b0:2a5:fe8f:b314 with SMTP id l18-20020a2e7012000000b002a5fe8fb314mr1874851ljc.5.1681903663880; Wed, 19 Apr 2023 04:27:43 -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: From: Justin Forbes Date: Wed, 19 Apr 2023 06:27:31 -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: Catalin Marinas 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 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 Wed, Apr 19, 2023 at 6:12=E2=80=AFAM Catalin Marinas wrote: > > On Tue, Apr 18, 2023 at 03:05:57PM -0700, 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 ju= st > > > > with the MAX_ORDER, but a whole bunch more as well. If everyone we= re > > > > already running 10, this might be less of a problem. At least Fedor= a > > > > 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 upstrea= m > > > > kernels or testing a patch. In those cases, people tend to use > > > > pristine upstream sources without distro patches to verify, and the= y > > > > tend to use their existing configs. With this change, their MAX_ORD= ER > > > > 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 regressio= n > > > > at all, but a config change they couldn't see. > > > > > > If we remove EXPERT (as prior to this patch), I'd rather keep the ran= ges > > > 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 su= re > > > 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. > > That's fine by me. I have a slight preference to drop EXPERT and keep > the ranges in, especially if it affects current distro kernels. Debian > seems to enable EXPERT already in their arm64 kernel config but I'm not > sure about the Fedora or other distro kernels. If they don't, we can > fix/revert this Kconfig entry once the merging window is closed. Fedora and RHEL do not enable EXPERT already. Justin