diff options
author | 2025-03-10 14:04:17 +0000 | |
---|---|---|
committer | 2025-03-17 22:07:02 -0700 | |
commit | 5d89666bd99831cee14abcf201b3867d9f15abae (patch) | |
tree | d145e581c26ed8a08eda294bb194137165cea604 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drivers/base/memory: correct the field name in the header (diff) | |
download | wireguard-linux-5d89666bd99831cee14abcf201b3867d9f15abae.tar.xz wireguard-linux-5d89666bd99831cee14abcf201b3867d9f15abae.zip |
mm: use ptep_get() instead of directly dereferencing pte_t*
It is best practice for all pte accesses to go via the arch helpers, to
ensure non-torn values and to allow the arch to intervene where needed
(contpte for arm64 for example). While in this case it was probably safe
to directly dereference, let's tidy it up for consistency.
Link: https://lkml.kernel.org/r/20250310140418.1737409-1-ryan.roberts@arm.com
Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Reviewed-by: Qi Zheng <zhengqi.arch@bytedance.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Dev Jain <dev.jain@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions