Re: [PATCH] target: substitute kmap() with kmap_local_page()

From: Chaitanya Kulkarni

Date: Thu Nov 06 2025 - 01:42:36 EST


On 11/1/25 00:41, Shi Hao wrote:
> There was a single use of kmap() which could be replaced with
> kmap_local_page() for better CPU contention and cache locality.
> kmap_local_page() ensures non-sleeping operation and provides
> better multi-core CPU scalability compared to kmap().
> Convert kmap() to kmap_local_page() following modern kernel
> coding practices.
>
> Signed-off-by: Shi Hao<i.shihao.999@xxxxxxxxx>
> ---


Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>

-ck