]> git.karo-electronics.de Git - karo-tx-linux.git/commit
optimize copy_page_{to,from}_iter()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 4 Apr 2014 23:23:46 +0000 (19:23 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 23 Apr 2014 17:52:03 +0000 (13:52 -0400)
commit364eeb4dc6fe2c0c47d955d95cd1fa87d16cf652
treef69a7d98c70b48546a181e9a8ca5f5911e767625
parent4acc364a460a880df912e92f97caa2e9c7b78ffe
optimize copy_page_{to,from}_iter()

if we'd ended up in the end of a segment, jump to the
beginning of the next one (iov_offset = 0, iov++),
rather than having the next primitive deal with that.

Ought to be folded back...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/iov_iter.c