diff options
author | Qi Zheng <[email protected]> | 2023-08-10 09:32:41 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-08-24 16:20:27 -0700 |
commit | 00de2c9f26b15f1a6f2af516dd8ec5f8d28189b7 (patch) | |
tree | d7535a576f4d3448515425bfeed96ba5063d6c9f /tools/perf/scripts/python/libxed.py | |
parent | 5003a2bdf6880dc9c301f555bece1154081158fe (diff) |
arm64: mm: use ptep_clear() instead of pte_clear() in clear_flush()
In clear_flush(), the original pte may be a present entry, so we should
use ptep_clear() to let page_table_check track the pte clearing operation,
otherwise it may cause false positive in subsequent set_pte_at().
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 42b2547137f5 ("arm64/mm: enable ARCH_SUPPORTS_PAGE_TABLE_CHECK")
Signed-off-by: Qi Zheng <[email protected]>
Acked-by: Will Deacon <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Kefeng Wang <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Pasha Tatashin <[email protected]>
Cc: Qi Zheng <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions