Re: kmap_local semantics

From: Christoph Hellwig
Date: Thu Mar 18 2021 - 00:37:55 EST


On Wed, Mar 17, 2021 at 07:44:20PM -0700, Ira Weiny wrote:
> Agreed. I'm Sorry, I did not word the above clearly enough. Let me rephrase
> that.
>
> Christoph, do you anticipate additional need to call kmap and hand the mappings
> to other threads? If not then kmap_local is what you should use. If so, I'd
> like to know why.

No. Just looking into callers that want a mapping and then synchronously
wait for I/O.