]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm/ptdump: replace READ_ONCE() with standard page table accessors
authorAnshuman Khandual <anshuman.khandual@arm.com>
Wed, 1 Oct 2025 04:25:02 +0000 (05:25 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Nov 2025 01:27:52 +0000 (17:27 -0800)
commit11119b19f62dc8f3aac6e458fb27a468ad5861ce
tree15ea766cba2e2e2f05d9378a97387cf73794caa9
parentb6c46600bfb28b4be4e9cff7bad4f2cf357e0fb7
mm/ptdump: replace READ_ONCE() with standard page table accessors

Replace READ_ONCE() with standard page table accessors i.e pxdp_get()
which anyways default into READ_ONCE() in cases where platform does not
override.  Also convert ptep_get_lockless() into ptep_get() as well.

Link: https://lkml.kernel.org/r/20251001042502.1400726-1-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Dev Jain <dev.jain@arm.com>
Acked-by: Lance Yang <lance.yang@linux.dev>
Acked-by: SeongJae Park <sj@kernel.org>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/ptdump.c