[RFC PATCH 0/2] mm/gup: pgtable entry acccessors cleanup

Alexander Gordeev posted 2 patches 1 month, 3 weeks ago
mm/gup.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[RFC PATCH 0/2] mm/gup: pgtable entry acccessors cleanup
Posted by Alexander Gordeev 1 month, 3 weeks ago
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