diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-04-28 17:03:00 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-04-28 17:24:55 +0200 |
commit | e9545b9f8aeb63e05818e4b3250057260bc072aa (patch) | |
tree | f89d5a69691b0f61871604aa2b09ce140d236cc8 /fs/binfmt_script.c | |
parent | KVM: async_pf: kill the unnecessary use_mm/unuse_mm async_pf_execute() (diff) | |
download | linux-e9545b9f8aeb63e05818e4b3250057260bc072aa.tar.xz linux-e9545b9f8aeb63e05818e4b3250057260bc072aa.zip |
KVM: async_pf: change async_pf_execute() to use get_user_pages(tsk => NULL)
async_pf_execute() passes tsk == current to gup(), this is doesn't
hurt but unnecessary and misleading. "tsk" is only used to account
the number of faults and current is the random workqueue thread.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Suggested-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions