commit | 206cb636576b969e9b471cdedeaea7752e6acb33 | [log] [tgz] |
---|---|---|
author | Stephen Wilson <wilsons@start.ca> | Sun Mar 13 15:49:19 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Mar 23 16:36:56 2011 -0400 |
tree | 252a1b5e9ce41521fb93b519265d4a1dbd18cfe9 | |
parent | e7f22e207bacdba5b73f2893a3abe935a5373e2e [diff] |
mm: factor out main logic of access_process_vm Introduce an internal helper __access_remote_vm and base access_process_vm on top of it. This new method may be called with a NULL task_struct if page fault accounting is not desired. This code will be shared with a new address space accessor that is independent of task_struct. Signed-off-by: Stephen Wilson <wilsons@start.ca> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>