On Tue, Apr 19, 2016 at 01:53:17PM -0400, Jeff Layton wrote: > What's the advantage of using iov_iter_bvec over iov_iter_kvec ?
No need to screw with kmap() in the caller; moreover, when it comes to actual copying it gets away with kmap_atomic() just around the memcpy(), which is considerably cheaper.