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 /mm/mmu_notifier.c | |
parent | d72d946d0b649b79709b99b9d5cb7269fff8afaa (diff) | |
download | op-kernel-dev-e9545b9f8aeb63e05818e4b3250057260bc072aa.zip op-kernel-dev-e9545b9f8aeb63e05818e4b3250057260bc072aa.tar.gz |
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 'mm/mmu_notifier.c')
0 files changed, 0 insertions, 0 deletions