]> 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)
commit34104bb6ef44f009250397fc87b5c2ec68824acf
tree06213185809c19175258bdb12f07204c79368cea
parent3e2367745ac895c31a0d709255da81608f87da35
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