diff options
author | Qi Zheng <[email protected]> | 2024-09-26 14:46:25 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-11-05 16:56:29 -0800 |
commit | 2441774f2d2890940f2db21bbc264c7e2f56d1ae (patch) | |
tree | 36e4e90308ef1b29cfd143ec7aa66ab2cc15cb1b /tools/perf/scripts/python/intel-pt-events.py | |
parent | e9c74b5431632d2ca60725ffff6fc1fe2b80f246 (diff) |
mm: multi-gen LRU: walk_pte_range() use pte_offset_map_rw_nolock()
In walk_pte_range(), we may modify the pte entry after holding the ptl, so
convert it to using pte_offset_map_rw_nolock(). At this time, the
pte_same() check is not performed after the ptl held, so we should get
pmdval and do pmd_same() check to ensure the stability of pmd entry.
Link: https://lkml.kernel.org/r/7e9c194a5efacc9609cfd31abb9c7df88b53b530.1727332572.git.zhengqi.arch@bytedance.com
Signed-off-by: Qi Zheng <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Mike Rapoport (Microsoft) <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Ryan Roberts <[email protected]>
Cc: Vishal Moola (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions