Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp31941imw; Mon, 4 Jul 2022 04:49:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sLxNkHDMiDRmn4rS22V7s4c44YRntgWxu8G8laB/rPgg+mIBf18wFnVtO/k4r8rxlerTG7 X-Received: by 2002:a17:90b:4d05:b0:1e2:bf91:8af2 with SMTP id mw5-20020a17090b4d0500b001e2bf918af2mr35213954pjb.210.1656935372558; Mon, 04 Jul 2022 04:49:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656935372; cv=none; d=google.com; s=arc-20160816; b=vBKKXx05pH2c6uxCKeSB34EHzEun8u6E65BbQQDF/zE06P508Lu2POSGfz8H0mgxFE TVyawluaEE3M76nbJfYkIV+K7mssD1pR5rNH6iGKbX7tAFXXTTJ3nNDR22qqD9+iY92U Z+Fb1oTWNhyviHGE6axA4GFtZejPTmCERS9N9zCgQAk4RxkEqoZZASinFAyRjGWS0s32 v7apqdqmIPYjcdss3SnRuQO++V++EVjpUsWTZujDfqdmn+35gRW/Io6yuiBHFjVko/H3 dMTWP/gY3/8xYVPqfFs4syfJU/nfT39LxJm4Pq6jpstA31zRIBE/wUSQiD9kTqIl0T2o ADDA== 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=UkJAPR0iz3R+zsN8qIgeMhUYXuszPO75LpkuxQQlKeE=; b=alqxryD/wmSaVAvyeh5R3X3622sVrRbqkLh45w0Q6Y2bUGaks3xISxb6y5eFKqyqPV Q0m5MwGjZtQ7BXYUiqtq46YRvraBW0iY0D8DOe0vKo6kKfFjWf6elfu3Rd1BnmrN1v3i IuNEi+sf0wFmR7oWUH2OD6KEMnOkhBHNAepmNSn2DQ0pOdDyT7TDLqxUA5Xc0ZNS0yby 3X4m73SFtgxUdrhzzDaQpmtaRUlYaTjd5SpWlCsXoGc2peluJh6CMr8SOawLAoEOlRLw T5PqNrpSLtt/mC4ynCEiBAQBbEhHDB0KKIzxUXWDXZs6pM4eqUaYPUJtFjt7M7dditHn Xvxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=KDtPdw18; 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 w18-20020a1709027b9200b0016bd6bca087si7042414pll.61.2022.07.04.04.49.19; Mon, 04 Jul 2022 04:49:32 -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=KDtPdw18; 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 S233599AbiGDLcg (ORCPT + 99 others); Mon, 4 Jul 2022 07:32:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbiGDLce (ORCPT ); Mon, 4 Jul 2022 07:32:34 -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 C8FCCE087 for ; Mon, 4 Jul 2022 04:32:32 -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=UkJAPR0iz3R+zsN8qIgeMhUYXuszPO75LpkuxQQlKeE=; b=KDtPdw18wM/ZnXc9HKuV7sKRL1 EltrcH9UfmeBkRlqI8J0utMV5Z/wX+lKoyE1bWbSXs8WmdMnjQjDixRvh7ZSiKcd7INAZVHOieCcp Y2UjdlZ5IBc/CLaI4zF+l5D2kYq2Sj2dg8wLfGEMZgOtKRUISGAvp1YYa5ob4movq4Kk1gqaPcPaw hGMRGytQ6SRH8c8STMgO9eUEAkO/A/NI8BmAI5rtxaFhAPgChHrsLSYA7QhuHrtboeVaDRxCjaxKe s8T/fac6tkf81Zt7SZU44HWEFSdY6NVwSPekOaN+sxm5MGCDOxRX0cY3cOB3iWj3PK8tVKuI6UQog 1rRgRBMg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33162) 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 1o8KJS-0008Nl-TO; Mon, 04 Jul 2022 12:32:22 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1o8KJQ-0002Js-Po; Mon, 04 Jul 2022 12:32:20 +0100 Date: Mon, 4 Jul 2022 12:32:20 +0100 From: "Russell King (Oracle)" To: Matthew Wilcox Cc: Andrew Morton , Arnd Bergmann , Mike Rapoport , 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 11:48:39AM +0100, Matthew Wilcox wrote: > On Mon, Jul 04, 2022 at 05:32:33AM +0100, Russell King (Oracle) wrote: > > On Sun, Jul 03, 2022 at 10:54:49PM +0100, Matthew Wilcox wrote: > > > On Sun, Jul 03, 2022 at 10:16:45PM +0100, Russell King (Oracle) wrote: > > > > On Sun, Jul 03, 2022 at 10:14:41PM +0100, Matthew Wilcox (Oracle) wrote: > > > > > This is the number of bits used by a PMD entry, not the order of a PMD. > > > > > > > > No, it's not the number of bits. A PMD entry doesn't fit in 2 or 3 bits. > > > > This is even more confusing. > > > > > > Well, what is it then? The order of something is PAGE_SIZE << n, and > > > that doesn't seem to be what this is. > > > > Where is it defined that "order" means "PAGE_SIZE << n" ? > > include/asm-generic/getorder.h: * get_order - Determine the allocation order of a memory size I really don't care - "order" is something that is a standard term, and is entirely appropriate in its use in this case. The fact is, this use conforms to the standard term usage, not some made up Linux whim. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!