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 D9420C433FE for ; Tue, 4 Oct 2022 13:39:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6929C6B0075; Tue, 4 Oct 2022 09:39:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6430A8E0002; Tue, 4 Oct 2022 09:39:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 50B3D8E0001; Tue, 4 Oct 2022 09:39:02 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 3ED856B0075 for ; Tue, 4 Oct 2022 09:39:02 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id D3476140DBD for ; Tue, 4 Oct 2022 13:39:01 +0000 (UTC) X-FDA: 79983372882.23.ECA2A6E Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by imf11.hostedemail.com (Postfix) with ESMTP id 0F61B4001E for ; Tue, 4 Oct 2022 13:39:00 +0000 (UTC) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Mhf1Z5gxRz4xHJ; Wed, 5 Oct 2022 00:38:58 +1100 (AEDT) From: Michael Ellerman To: linuxppc-dev@lists.ozlabs.org, Michael Ellerman Cc: mike.kravetz@oracle.com, aneesh.kumar@linux.ibm.com, linux-mm@kvack.org In-Reply-To: <20220903123640.719846-1-mpe@ellerman.id.au> References: <20220903123640.719846-1-mpe@ellerman.id.au> Subject: Re: [PATCH 1/2] powerpc/mm/64s: Drop pgd_huge() Message-Id: <166488985450.779920.10720240945227242140.b4-ty@ellerman.id.au> Date: Wed, 05 Oct 2022 00:24:14 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1664890741; h=from:from: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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Mlnr2CjRM7teX9BdNmK44XHa9zfnRG0SwWzirlENJjc=; b=iWTHtEGa/J4EUv5OSMV9QFhx1RrUtqIrN8qDGizWTvRC7nWpKq0kd5RijI/4tZ9FwCBYaH mz/IjH6f/nZokLxz8wxDwq/LSfuNjcZxAhzCK2gyRCXcYBo0akAL4WWyLkzpoqFdSpjKte Sw1IVFeEWyHm0sBs8C4j/rL/smoSVeA= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=none; spf=pass (imf11.hostedemail.com: domain of michael@ellerman.id.au designates 150.107.74.76 as permitted sender) smtp.mailfrom=michael@ellerman.id.au; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664890741; a=rsa-sha256; cv=none; b=hAOTkWPQpSPJmmxNb/DKA6daNyQL3K54GYV4QCDShRJ8pCy7HGJrGJeCTVAAdJsjDoDwGe vknNIjts7LNOfUocUreu8eJFZwtaACS5iUGre1JTU7Hyqm++Uk6gECXE8ibHud4K/O+QRM DgAp23RQohuWsHK1a4fuMWdd042R6TU= Authentication-Results: imf11.hostedemail.com; dkim=none; spf=pass (imf11.hostedemail.com: domain of michael@ellerman.id.au designates 150.107.74.76 as permitted sender) smtp.mailfrom=michael@ellerman.id.au; dmarc=none X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 0F61B4001E X-Rspam-User: X-Stat-Signature: 8o99xiyju4k7htw1q999pzwdfykrfo9w X-HE-Tag: 1664890740-760580 X-Bogosity: Ham, tests=bogofilter, spamicity=0.060931, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sat, 3 Sep 2022 22:36:39 +1000, Michael Ellerman wrote: > On powerpc there are two ways for huge pages to be represented in the > top level page table, aka PGD (Page Global Directory). > > If the address space mapped by an individual PGD entry does not > correspond to a given huge page size, then the PGD entry points to a > non-standard page table, known as a "hugepd" (Huge Page Directory). > The hugepd contains some number of huge page PTEs sufficient to map the > address space with the given huge page size. > > [...] Applied to powerpc/next. [1/2] powerpc/mm/64s: Drop pgd_huge() https://git.kernel.org/powerpc/c/51da853e3708852f47cd95e6f5e1821c3d54c3ef [2/2] powerpc/mm/64s: Drop p4d_leaf() https://git.kernel.org/powerpc/c/79c5640ab4460a03535ce0f120193174e7701b65 cheers