summaryrefslogtreecommitdiffstats
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-02-05 12:14:11 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-01 23:19:27 -0400
commit240f3905f513cd5f27cc3f79bf03bf3f88323f41 (patch)
tree69247be2e360e3cceb330773df9d50f34652dd73 /mm/swap_state.c
parent9f78bdfabf0de0bc8d3cc97d06908651b577a567 (diff)
downloadop-kernel-dev-240f3905f513cd5f27cc3f79bf03bf3f88323f41.zip
op-kernel-dev-240f3905f513cd5f27cc3f79bf03bf3f88323f41.tar.gz
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>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud