Re: [PATCH 2/2] mm: pgtable: remove unnecessary split ptlock for kernel PMD page
From: Muchun Song
Date: Thu Feb 01 2024 - 22:16:51 EST
> On Feb 1, 2024, at 16:05, Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx> wrote:
>
> For kernel PMD entry, we use init_mm.page_table_lock to protect it, so
> there is no need to allocate and initialize the split ptlock for kernel
> PMD page.
>
> Signed-off-by: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>
Reviewed-by: Muchun Song <muchun.song@xxxxxxxxx>
Thanks.