From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796140941; b=VhCHR0GaBmIkMkrAqL9nTuIgzTmrQudqG+B77Dv2fDHvEB+kmefexh6/CC7/txNk9bjY Ig9mveLNvKfeVUHeXYt2YxbNgX+mHP6Hd4zSp2O6isb5UN7C25OFO4QqWVPvPJMkYEMDm eVN7ivtxmY8curoN4rGsWlv8U7KdirMKLMM7A1cWlS/BVKn1LtNkFKcYh4IzqIDi/IKzG SzZ2rtlXWXt09ee/UP1q7TFGc1XItMrNU5aqSjw3SKn2cn9LhI7MiIcivhnLv5aD2mO4v Wlp70mYvQ5fW0r8/Mey3AUu5U6B+kMt9jxbE3mZPZQ3IA+yFo98WGJa/LKWtrRc2ldw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796140941; h=DMARC-Filter:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=7ude6lmNse0MaIZbQav85CIwQlfTQUxH3V5HMVHJmv4=; b=QI4QZDm//F9lbBqT+d9KvuRD+qIQTzUvJSYlxrMUtgiFeoDmDt0AtpwIp7CJW6S/aISE RJCYgnTpwMCi4lk9lkg8KhTPtz4E4AH+KFaVErDiR9W1TNnaoL1qw58JTk6SXBBnVvVzG mlup3QYK2EmBWuJJxfM9uKyovkz6tvC7++E+iOgHFFhepMm3c6MSl1aTSfF6LSbhVxpqX KnOOrUHUddBlgV6OzhhbyJM1UXZvhrc36NXF/TmUXR9YuA8S9wqkaL4xce8t0An/lMEbB 3SSurajOixiGQjxVzdp/1qQLFzoK2faVjeSTwV3ESZUtnsHJkTDqudM2icFhTAQrImA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b="R/xGwC8E"; arc=none smtp.remote-ip=217.140.110.172 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36286606A31A; Tue, 1 Dec 2026 16:02:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 36286606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=R/xGwC8E Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CCE961570; Tue, 1 Dec 2026 08:02:17 -0800 (PST) Received: from e129823.arm.com (e129823.arm.com [10.2.213.3]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EE02C3F7D8; Tue, 1 Dec 2026 08:02:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796140940; bh=bbp7sskDUjNg3C9jHp5jh/aQ+dDhf8tOZPdPZRi/8Ak=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R/xGwC8E8eJM2y7Y8w4+r9nTY7pxGrqRzMNFsEp88VyGat3mCs1DAPMslacXVhm+Z DqM24cQmP92ObT//LJzdruzWLmDfKuzKoEmNlH7MCjhClBxIOKkQ7svxLAfoKzSZpG UFlrYqKBd7wbeQ7QEwnr8gS3jcWkd4DJkDv5VPn4= Date: Tue, 1 Dec 2026 16:02:10 +0000 From: Yeoreum Yun To: "David Hildenbrand (Arm)" Cc: Russell King , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Catalin Marinas , Will Deacon , Arnd Bergmann , Andrew Morton , Kairui Song , Qi Zheng , Shakeel Butt , Barry Song , Axel Rasmussen , Yuanchu Xie , Wei Xu , Johannes Weiner , Michal Hocko , Lorenzo Stoakes , Tianrui Zhao , Bibo Mao , Anup Patel , Atish Patra , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Jonas Bonn , Stefan Kristiansson , Stafford Horne , Yeoreum Yun , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-openrisc@vger.kernel.org, stable@vger.kernel.org, Sohil Mehta Subject: Re: [PATCH v3 00/20] mm: change behavior of pXdp_get()/pXd_page() in compile-time folded pgtable Message-ID: References: <20261130-dummy_ptxp3-v3-0-456081a8ed0e@arm.com> <179612937612.21767.14588433831450071031.b4-ty@b4> X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <179612937612.21767.14588433831450071031.b4-ty@b4> On Tue, Dec 01, 2026 at 01:52:22PM +0100, David Hildenbrand (Arm) wrote: > On Mon, 30 Nov 2026 17:18:33 +0000, Yeoreum Yun wrote: > > Using ptep_get() and its counterparts in common code is suboptimal on > > kernel configurations with generic compile-time folded page tables. > > By default, ptep_get() and its friends expands to READ_ONCE(), > > forcing the compiler to emit a load even when the value is not used afterwards. > > > > This issue was recently reported by Christophe Leroy [1] for ppc32 > > preventing futher code conversion to ptep_get()/pmdp_get()/... helper > > and the same behavior can also be observed on arm64 when built with > > 2- or 3-level page tables > > > > [...] > > I fixed up all things I reported (commit messages, cover letter in merge > commit, smaller fixups) and pushed it to a topic branch to give it > some exposure in -next. > > Levi, it would be good to send an official v4. You can see all the fixed > up commits on the branch below. I see. I'll respin with your comment and post soon. Thanks! [...] -- Sincerely, Yeoreum Yun