]> www.infradead.org Git - users/willy/xarray.git/commit
mm/debug_vm_pgtable: Use pxdp_get() for accessing page table entries
authorAnshuman Khandual <anshuman.khandual@arm.com>
Tue, 10 Sep 2024 11:57:46 +0000 (17:27 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 17 Sep 2024 08:07:01 +0000 (01:07 -0700)
commita0c9fd22e312caa5566d4f3924e37d8158b997cc
tree28132338e965dffee2b61ad2b4d10f48394694d4
parent82ce8e2f31a1eb05b1527c3d807bea40031df913
mm/debug_vm_pgtable: Use pxdp_get() for accessing page table entries

This replaces all the existing READ_ONCE() based page table accesses with
respective pxdp_get() helpers. Although these helpers might also fallback
to READ_ONCE() as default, but they do provide an opportunity for various
platforms to override when required. This change is a step in direction to
replace all page table entry accesses with respective pxdp_get() helpers.

Link: https://lkml.kernel.org/r/20240910115746.514454-1-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/debug_vm_pgtable.c