commit | e9545b9f8aeb63e05818e4b3250057260bc072aa | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Mon Apr 28 17:03:00 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Apr 28 17:24:55 2014 +0200 |
tree | f89d5a69691b0f61871604aa2b09ce140d236cc8 | |
parent | d72d946d0b649b79709b99b9d5cb7269fff8afaa [diff] |
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>