[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167879466639.235555.17568096529294287253.b4-ty@kernel.org>
Date: Tue, 14 Mar 2023 13:51:06 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Dennis Dalessandro <dennis.dalessandro@...nelisnetworks.com>,
Jason Gunthorpe <jgg@...pe.ca>, Ira Weiny <ira.weiny@...el.com>
Cc: linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rdma/qib: Remove deprecated kmap() call
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@...nel.org>
Powered by blists - more mailing lists