[PATCH v3 1/1] nvmet-tcp: Don't kmap() pages which can't come from HIGHMEM

Al Viro viro at zeniv.linux.org.uk
Fri Aug 26 12:35:17 PDT 2022


On Fri, Aug 26, 2022 at 12:35:09PM -0600, Keith Busch wrote:

> > Can you please provide further information or links to documentation?
> 
> This kvec/bvec talk is a digression from your original goal: reduce unnecessary
> kmap() usage. If anyone wants to take on the bvec optimization in this code
> path, then by all means lets do it in a separate patch.

Oh?  And why is a switch to iov_iter_bvec() *not* a reduction of kmap() usage?
ITER_BVEC methods use kmap_local() for data transfers, TYVM...



More information about the Linux-nvme mailing list