Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp32157imw; Mon, 4 Jul 2022 04:49:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t+w/xLGW2gJjnikNFmdYpyQJ3IxI48qdEtXvpmb8AdtP/EjJEHpx3PAL8lKRpDFXq5VXMj X-Received: by 2002:a62:e919:0:b0:51e:7b6e:5a3b with SMTP id j25-20020a62e919000000b0051e7b6e5a3bmr35081796pfh.78.1656935387330; Mon, 04 Jul 2022 04:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656935387; cv=none; d=google.com; s=arc-20160816; b=ADVWlvlrvTZaxsdz+8/xmLy218Ru0vLW5I+T/D5UY6y6ll1bBjHc8seHuYZMCntjyx 90DjnFdpgcj9thruvwXCwBh2AfCpPvNDf4lFQsXyINDIhq5w7pb/dTEMkE7rm6nfN1sm Gb6y1EB1UM1e8tfu5dQV/LqfEL9CS7M89oIpuLPdchgRQtUe0ogJREYVuGyRiSVd/kAq A911YCG+b1glDFWINBoAh7h5CtdB1ygTUZ6zP/YWPLrWo8uSjv7KGY191SqE1kgaX9i1 teKqoL2Z95bE7excyZ+F3OWnCiFv/NkDXxApbp9YS8hVKMd1fv4BN13iZAkrYOHpgrTV 40Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=rPsfA7FPBrtA8YeRCyzmevDdXCVc3WnjxOgSbxjPq0I=; b=HXSzSXeEsyfyo6jrVof0zuv4fJ2zDEPOaVpG1YwGfkABa4O5DIaBB0hEPLL9EYYYUE 3rE6+ujiqBpxkxcr9w8c/k5+/bMJ5QcJV3ag64sha1I5pOmUWEsHY4iiy5FhD87fTxT3 pZZnVp4NmABTcldjiP7xp6nlRFabzIWgdxttxZfg93DMgEGuOTY5/cC8e1fmtSDfkwWX 9cY1XfvYF3EvftrAf6L0awmXWC2ZE+1ORcQwxyMDR4tCl2cTypcXQxegIRf4E7dmsqow oeV6RpGtqwxL4pefcxV2pxWt6Ryhfdie6zKFnLmorRjxsfhPPClB+1qkxTHKjHvQT1TP g/lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=E1m5OMQ8; 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=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a3-20020a1709027e4300b0016641a8abcfsi9270420pln.549.2022.07.04.04.49.35; Mon, 04 Jul 2022 04:49:47 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=E1m5OMQ8; 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=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231338AbiGDLjF (ORCPT + 99 others); Mon, 4 Jul 2022 07:39:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234034AbiGDLit (ORCPT ); Mon, 4 Jul 2022 07:38:49 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05CDD11443 for ; Mon, 4 Jul 2022 04:37:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rPsfA7FPBrtA8YeRCyzmevDdXCVc3WnjxOgSbxjPq0I=; b=E1m5OMQ8m8WMtt+qBlLM3lelQV +Nc8NNplnOZnI1RZK5h5YFyacDOviyxRu7rBJGfMbeqPG+X+duOHbcbuVnrahdABHvB94z//XleJD ybAZbU9EanuiTN0LemB2acuFI8MTb3d0FsvU9oln7wTVetrddCjzk6NUz0LIg3TfMWCQCZSOeeWNp Ku0P23I6oRLxvCwIpQkgFjAvN1IyJzfrBdVhYmJ089AeA+EaSAMXUS4T0gin+Hh/M5GTM8XlxHLhm Sg3Z+oWK22TESjCJOdLJSgNnYCgHuFu/vgpjc7HqQbC06k6XN2TUrOz+XuvSgBmhZl7nJMlLFjcyM irHXJq0g==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33164) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o8KOV-0008OU-Ol; Mon, 04 Jul 2022 12:37:35 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1o8KOU-0002K0-Dv; Mon, 04 Jul 2022 12:37:34 +0100 Date: Mon, 4 Jul 2022 12:37:34 +0100 From: "Russell King (Oracle)" To: Mike Rapoport Cc: Matthew Wilcox , Andrew Morton , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 15/14] arm: Rename PMD_ORDER to PMD_BITS Message-ID: References: <20220703141203.147893-1-rppt@kernel.org> <20220703211441.3981873-1-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, 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 Mon, Jul 04, 2022 at 09:26:22AM +0300, Mike Rapoport wrote: > I'd go with PMD_ENTRY_ORDER as Russell suggested last year. > > From 6389dfb2e5ae5b040ca1c8f07a071d8da2873b13 Mon Sep 17 00:00:00 2001 > From: Mike Rapoport > Date: Mon, 4 Jul 2022 09:17:40 +0300 > Subject: [PATCH] ARM: head.S: rename PMD_ORDER to PMD_ENTRY_ORDER > > PMD_ORDER denotes order of magnitude for a PMD entry, i.e PMD entry > size is 2 ^ PMD_ORDER. > > Rename PMD_ORDER to PMD_ENTRY_ORDER to allow a generic definition of > PMD_ORDER as order of a PMD allocation: (PMD_SHIFT - PAGE_SHIFT). > > Signed-off-by: Mike Rapoport Yes, absolutely. Acked-by: Russell King (Oracle) I really don't buy the argument that we should not be using "order" here and we need to make up some other random idiotic term just because Linux uses "order" *elsewhere* for PAGE_SIZE * 2^n. The Linux kernel doesn't get to redefine standard terms, and certainly doesn't get to demand that one has to make up another name for a standard term because it conflicts with some other usage of that term that's non-standard. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!