]> git.baikalelectronics.ru Git - kernel.git/commit
process_vm_access: switch to copy_page_to_iter/iov_iter_copy_from_user
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 5 Feb 2014 17:14:11 +0000 (12:14 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Apr 2014 03:19:27 +0000 (23:19 -0400)
commit99a40ccdf0303591591885852df34b1fb29b3e4a
tree69247be2e360e3cceb330773df9d50f34652dd73
parent4109af5a1d954d7c226095b6ed7b819604595888
process_vm_access: switch to copy_page_to_iter/iov_iter_copy_from_user

... rather than open-coding those.  As a side benefit, we get much saner
loop calling those; we can just feed entire pages, instead of the "copy
would span the iovec boundary, let's do it in two loop iterations" mess.

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