Skip to content
Commit e9545b9f authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Paolo Bonzini
Browse files

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: default avatarOleg Nesterov <oleg@redhat.com>
Suggested-by: default avatarAndrea Arcangeli <aarcange@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent d72d946d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment