> On Aug 22, 2024, at 15:13, Qi Zheng <zhengqi.a...@bytedance.com> wrote:
> 
> 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().
> 
> Signed-off-by: Qi Zheng <zhengqi.a...@bytedance.com>

Reviewed-by: Muchun Song <muchun.s...@linux.dev>



Reply via email to