diff options
author | Qi Zheng <[email protected]> | 2024-09-26 14:46:17 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-11-05 16:56:27 -0800 |
commit | c85507857bb8904f8631b3a89b19aa73b1f77e48 (patch) | |
tree | 5f6f0834e51f01590067b5c585b252ac45711c75 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bd6ad65ddcbb2d0aceb843d31d4f1bd8d628200a (diff) |
mm: khugepaged: __collapse_huge_page_swapin() use pte_offset_map_ro_nolock()
In __collapse_huge_page_swapin(), we just use the ptl for pte_same() check
in do_swap_page(). In other places, we directly use
pte_offset_map_lock(), so convert it to using pte_offset_map_ro_nolock().
Link: https://lkml.kernel.org/r/dc97a6c3cb9ea80cab30c5626eeea79959d93258.1727332572.git.zhengqi.arch@bytedance.com
Signed-off-by: Qi Zheng <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Reviewed-by: Muchun Song <[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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions