damon: use pmdp_get instead of drectly dereferencing pmd
authorLevi Yun <ppbuk5246@gmail.com>
Thu, 27 Jul 2023 21:21:57 +0000 (06:21 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:37:30 +0000 (13:37 -0700)
commite7ee3f9791f5601fc032b222a70a02b9798784be
tree24fd517db89e9a55bee6275c4b7ca7914ad2717f
parent866ff80176aa1f9c0ba65f2164cf608c5cde4851
damon: use pmdp_get instead of drectly dereferencing pmd

As ptep_get, Use the pmdp_get wrapper when we accessing pmdval instead of
directly dereferencing pmd.

Link: https://lkml.kernel.org/r/20230727212157.2985025-1-ppbuk5246@gmail.com
Signed-off-by: Levi Yun <ppbuk5246@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/ops-common.c
mm/damon/paddr.c
mm/damon/vaddr.c