lkml.org 
[lkml]   [2023]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scsi: ipr: Replace kmap() with kmap_local_page()
Date
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

\
 
 \ /
  Last update: 2023-03-26 23:57    [W:0.131 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site