]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm: replace READ_ONCE() in pud_trans_unstable()
authorAnshuman Khandual <anshuman.khandual@arm.com>
Fri, 27 Feb 2026 04:03:00 +0000 (04:03 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 5 Apr 2026 20:53:11 +0000 (13:53 -0700)
commit3d56d7317b271a1a5030ebb135c58aedc4c0fd36
tree0c2b27ff032aead2f41bb1dc6bb51832acea6df1
parent4d267106ab013aa7f21aeab0a5272ac952f31d22
mm: replace READ_ONCE() in pud_trans_unstable()

Replace READ_ONCE() with the existing standard page table accessor for PUD
aka pudp_get() in pud_trans_unstable().  This does not create any
functional change for platforms that do not override pudp_get(), which
still defaults to READ_ONCE().

Link: https://lkml.kernel.org/r/20260227040300.2091901-1-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Acked-by: SeongJae Park <sj@kernel.org>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Mike Rapoport <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/pgtable.h