Re: [PATCH] scsi: ipr: Replace kmap() with kmap_local_page()

From: Martin K. Petersen
Date: Thu Jan 26 2023 - 22:23:20 EST


On Tue, 03 Jan 2023 19:25:56 +0100, Fabio M. De Francesco wrote:

> The use of kmap() is deprecated in favor of kmap_local_page().
>
> There are two main problems with kmap(): (1) It comes with an overhead as
> the mapping space is restricted and protected by a global lock for
> synchronization and (2) it also requires global TLB invalidation when the
> kmap’s pool wraps and it might block when the mapping space is fully
> utilized until a slot becomes available.
>
> [...]

Applied to 6.3/scsi-queue, thanks!

[1/1] scsi: ipr: Replace kmap() with kmap_local_page()
https://git.kernel.org/mkp/scsi/c/a3e2e248fd77

--
Martin K. Petersen Oracle Linux Engineering