Thread (42 messages) 42 messages, 3 authors, 2024-09-05

Re: [PATCH v2 05/14] mm: khugepaged: __collapse_huge_page_swapin() use pte_offset_map_ro_nolock()

From: Muchun Song <muchun.song@linux.dev>
Date: 2024-08-29 07:26:01
Also in: linux-arm-kernel, linux-mm, lkml

On Aug 22, 2024, at 15:13, Qi Zheng [off-list ref] 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 <redacted>
Reviewed-by: Muchun Song <muchun.song@linux.dev>


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help