[RFC PATCH 0/2] mm/gup: pgtable entry acccessors cleanup
From: Alexander Gordeev
Date: Mon Apr 20 2026 - 08:16:29 EST
Hi All,
This rework is necessary to allow a KASAN PTE access sanitizer
(so far s390-only) that hits on direct PTE entries dereferences,
like pte = *ptep as opposed to pte = ptep_get(ptep).
I am not posting the sanitizer itself (yet), since it does not
fly without the suggested patches, but I am not sure whether
these changes make sense for the generic case.
Thus, sending it as a RFC.
Thanks!
Alexander Gordeev (2):
mm/gup: add missing pXdp_get() conversions
mm/gup: add lockless access semantics on entries validation
mm/gup.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--
2.51.0