Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1016746imk; Sun, 3 Jul 2022 15:04:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tPo70uKFkHVUEA6n417eORHW6VfteHvfNVgGt/NT7zMEZ7GX1jhipMvUKOL3KJfiuHRNFI X-Received: by 2002:a17:907:9619:b0:726:92db:2e83 with SMTP id gb25-20020a170907961900b0072692db2e83mr25674941ejc.289.1656885893446; Sun, 03 Jul 2022 15:04:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656885893; cv=none; d=google.com; s=arc-20160816; b=AZzG0bg8XuhVsCTEpgZZoszqCMamCXOMufcfY7fjbBVzvUmlzJ6B2Q0MdYND7U1uY/ wNq1IJX1Kv9y7ivLyaS/dtvSDuniSz/sEzgaK9TUof1KHHKgx/wyP46oeSOerTicyYID yXuFrGdrwlUNgHb1zmssmNmdC5TstYsEzYTIFin1YL8HKfp4tlaazjLRky2VsDBkh8cX tG2+H5tDfIW6IpgTVI/FVMGMDT7tl63XMyn99QupEpULMc5XjMFEMuIAPu2jsXh5psLi g7tCYr4kLL/coMHheP0lmNtwN2UUPIMgWIQstMSxhNvbPf6RKCRwz6VdTHEdt/hay2hp ma3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+MGiKEfl9xrsgJZ7q400SimQ9kR8E7tJt+7JZCpxN+M=; b=oj+J/kss9aB1aGcuTPTRsGwyabMJJFG+ujklGmXWuPOtscyhf5s6xtveKEH9g+mRVk gBHR5Z6WUq/x6vT9gQk/Do+fmWki2qeUjRThrSiQun+wxMSKBq0+EwXPhfxJdCA+eWRO Cye3lwO2RfbNcmjKGsajmKJqjAPeHRKp+v00DlpeVv5iaUnX+5EYBM9Wh7GZdCAAYSGi 7bWGrp4fPJJ+MHoyot4sxAKzAtSwbTQxdTkGe7AGSfDk16RHKAbblKNSNsK0akOtNbPN M8jwoI+Bi4KXJv+U0wmP4pc+Ij/2msLu4JEAZzyU9u3qI58pKeCvjshP6wezohoeMdQw +5Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=SHfDE5+6; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hv16-20020a17090760d000b00726c9f6cba6si8087336ejc.743.2022.07.03.15.04.12; Sun, 03 Jul 2022 15:04:53 -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=@infradead.org header.s=casper.20170209 header.b=SHfDE5+6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230053AbiGCVzC (ORCPT + 99 others); Sun, 3 Jul 2022 17:55:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbiGCVzB (ORCPT ); Sun, 3 Jul 2022 17:55:01 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A797E26C9 for ; Sun, 3 Jul 2022 14:54:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=+MGiKEfl9xrsgJZ7q400SimQ9kR8E7tJt+7JZCpxN+M=; b=SHfDE5+6mBKPlBCsEOm5QP5yij 8KU96A8vwOX+IDsEWrs9aJENczKn0RR+ucv0UgGLJuzRETPiRnk97j960pKVDWXup/epaiuhYQ7sc lpRtgNCIo0c8+veMEhsKXmjsQbJW2VVFVfK6qURCKgssti0tgSMvYZItSMqiFp7vbMmAM29ep0jby 7Bm5yyy5R82u59478H5/Zfro9dQkULW/V1um6IBHGR+GCvnusUKMLPuJZWqyAwS2/EMsZWIap6lxX X0mdMnIuTGWtBtwX+q5heba1Rwhs658yDib36h3OuX5vfvR7u2AYQi5EvYU3s7QhvfMvhERepib69 5nTPYdgg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1o87YH-00GjBn-FN; Sun, 03 Jul 2022 21:54:49 +0000 Date: Sun, 3 Jul 2022 22:54:49 +0100 From: Matthew Wilcox To: "Russell King (Oracle)" 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: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 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. Happy to call it whatever you want to call it.