From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3D68C43334 for ; Mon, 4 Jul 2022 11:32:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 272ED6B0072; Mon, 4 Jul 2022 07:32:37 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 223156B0073; Mon, 4 Jul 2022 07:32:37 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0EC686B0074; Mon, 4 Jul 2022 07:32:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id F12116B0072 for ; Mon, 4 Jul 2022 07:32:36 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id C234420BD9 for ; Mon, 4 Jul 2022 11:32:36 +0000 (UTC) X-FDA: 79649204712.24.E27CC53 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) by imf27.hostedemail.com (Postfix) with ESMTP id 1FFD740006 for ; Mon, 4 Jul 2022 11:32:31 +0000 (UTC) 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: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1656934352; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=UkJAPR0iz3R+zsN8qIgeMhUYXuszPO75LpkuxQQlKeE=; b=tfBnfpeapvFvuEsX22W5h5ZIw2xrHvqifOLLeMVsRzMA/yxytdPdHv+4OWiwBOBbwtEcqT j+cvq67yjFf6htwhVxZiI62mfeK6kwc5Kah5EMm2q7aIw8pQLJWyYk4POlXf/wHA5QtH32 IL5DFnugvmdTnSGWo945a5dJfI94ew8= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=armlinux.org.uk header.s=pandora-2019 header.b=KDtPdw18; spf=none (imf27.hostedemail.com: domain of "linux+linux-mm=kvack.org@armlinux.org.uk" has no SPF policy when checking 78.32.30.218) smtp.mailfrom="linux+linux-mm=kvack.org@armlinux.org.uk"; dmarc=pass (policy=none) header.from=armlinux.org.uk ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1656934352; a=rsa-sha256; cv=none; b=Wwwt8kcMYx+mmJRC7auV4Q9b8D/OZOq28YVKg8KqnHG9F2dlcOIr+QejuGTdmOrl97n4uL bur5SappBxfMbo3xhwVHFG/SHFHWtYO0RMt2RY+zKGdabXtiLfF8AhkjXfftm9bqSK2cD1 2/TPlJW1vxiyILGHawZ3IAikJI/lKFQ= X-Stat-Signature: x6cd4yzusyxmo6dkdr8x1f11wcbmfy78 X-Rspamd-Queue-Id: 1FFD740006 Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=armlinux.org.uk header.s=pandora-2019 header.b=KDtPdw18; spf=none (imf27.hostedemail.com: domain of "linux+linux-mm=kvack.org@armlinux.org.uk" has no SPF policy when checking 78.32.30.218) smtp.mailfrom="linux+linux-mm=kvack.org@armlinux.org.uk"; dmarc=pass (policy=none) header.from=armlinux.org.uk X-Rspam-User: X-Rspamd-Server: rspam02 X-HE-Tag: 1656934351-756276 X-Bogosity: Ham, tests=bogofilter, spamicity=0.002397, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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!