Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1382892

Re: [PATCH 3/6] cifs: quit playing games with draining iovecs

From Al Viro <viro@ZenIV.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH 3/6] cifs: quit playing games with draining iovecs
Date 2016-04-20 00:50 +0200
Message-ID <rpMD1-65k-33@gated-at.bofh.it> (permalink)
References <rm7Zo-2jd-3@gated-at.bofh.it> <rm894-2mv-3@gated-at.bofh.it> <rpI6m-2bD-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/6] cifs: quit playing games with draining iovecs Jeff Layton <jlayton@poochiereds.net> - 2016-04-19 20:00 +0200
  Re: [PATCH 3/6] cifs: quit playing games with draining iovecs Al Viro <viro@ZenIV.linux.org.uk> - 2016-04-20 00:50 +0200

csiph-web