]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm: replace READ_ONCE() with standard page table accessors
authorAnshuman Khandual <anshuman.khandual@arm.com>
Tue, 7 Oct 2025 06:31:00 +0000 (07:31 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Nov 2025 01:27:56 +0000 (17:27 -0800)
commitc0efdb373c3aaacb32db59cadb0710cac13e44ae
treebbcef6d33668043fa8d5cd74542bf3a17d5efbcd
parentbda7bf06840d4eb133abefa5a2fd75544277bd86
mm: replace READ_ONCE() with standard page table accessors

Replace all READ_ONCE() with a standard page table accessors i.e
pxdp_get() that defaults into READ_ONCE() in cases where platform does not
override.

Link: https://lkml.kernel.org/r/20251007063100.2396936-1-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Lance Yang <lance.yang@linux.dev>
Reviewed-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Dev Jain <dev.jain@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/gup.c
mm/hmm.c
mm/memory.c
mm/mprotect.c
mm/sparse-vmemmap.c
mm/vmscan.c