lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <df283f3a-5463-4696-a067-3a4a30498d6e@nvidia.com>
Date: Thu, 6 Nov 2025 06:42:32 +0000
From: Chaitanya Kulkarni <chaitanyak@...dia.com>
To: Shi Hao <i.shihao.999@...il.com>, "martin.petersen@...cle.com"
	<martin.petersen@...cle.com>
CC: "inux-scsi@...r.kernel.org" <inux-scsi@...r.kernel.org>,
	"target-devel@...r.kernel.org" <target-devel@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] target: substitute kmap() with kmap_local_page()

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@...il.com>
> ---


Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@...dia.com>

-ck


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ