]> git.baikalelectronics.ru Git - kernel.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>
Tue, 6 May 2014 21:39:45 +0000 (17:39 -0400)
commit772629a417fd9ebb790a034ec0ece7bb720886b1
tree06213185809c19175258bdb12f07204c79368cea
parent757c94a8aa79f2de0f66b3748d5401c7cea2ee6b
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