From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B1E4606A31A for ; Tue, 1 Dec 2026 16:02:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Wnacq1up; dkim=fail reason="signature verification failed" (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=R/xGwC8E DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=4F+bATe8JfI6Jh/XK02fLwlf3l3/EsjYGTmQBz4M/Z4=; b=Wnacq1up/M72ZBjdJpAvTZtuf+ +35upBFh0Glb38GAdYOsXropcJsIH/d4s3TZunF2hEiBrrTr9KJcfeW3+c1IxU97Pk6hJoWEb9KEo n95S6ZDARKhSvdRa8/9j+XX1Mttk72yZof3HgP46J3uWUnB6IWITnBvsfjPwFBCaQaJeKpTYPRSAp AvAxQYwE4n847+rK/o/OqZdUqbO30GH8hz2lL+S4tnY47flNtZzyiadTGEiYrZwuqxNIHqcFsJTc7 yFErfw8s99qjh42F3/5t6B708hWnNKfcElmJb8Lh6Vo5fGKGC0S+0tcM7+dzUF14KStOoxloN18J0 uZvs2idg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYQJP-00000008eAD-3hQI; Tue, 01 Dec 2026 16:02:35 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYQJB-00000008e6h-1wUh; Tue, 01 Dec 2026 16:02:32 +0000 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 CB7741516; 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-Archived-By: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <179612937612.21767.14588433831450071031.b4-ty@b4> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261201_080221_593102_AF271475 X-CRM114-Status: GOOD ( 19.04 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv