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>
Tue, 6 May 2014 21:39:45 +0000 (17:39 -0400)
commit81055e584f9d743cb13dc7944923d817c20f089d
tree06213185809c19175258bdb12f07204c79368cea
parent6abd232274fd652e4a57f486d14e52ffee6f72e9
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