Re: [PATCH] rdma/qib: Remove deprecated kmap() call

From: Leon Romanovsky
Date: Tue Mar 14 2023 - 07:52:07 EST



On Tue, 07 Mar 2023 09:15:31 -0800, Ira Weiny wrote:
> kmap() has been deprecated in favor of the kmap_local_page() call.
> kmap_local_page() is thread local.
>
> In the sdma coalesce case the page allocated is potentially free'ed in a
> different context through qib_sdma_get_complete() ->
> qib_user_sdma_make_progress(). The use of kmap_local_page() is
> inappropriate in this call path. However, the page is allocated using
> GFP_KERNEL and will never be from highmem.
>
> [...]

Applied, thanks!

[1/1] rdma/qib: Remove deprecated kmap() call
https://git.kernel.org/rdma/rdma/c/4f00848e490c59

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>