summaryrefslogtreecommitdiffstats
path: root/lib/gcd.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-04-28 17:03:00 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-04-28 17:24:55 +0200
commite9545b9f8aeb63e05818e4b3250057260bc072aa (patch)
treef89d5a69691b0f61871604aa2b09ce140d236cc8 /lib/gcd.c
parentd72d946d0b649b79709b99b9d5cb7269fff8afaa (diff)
downloadop-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 'lib/gcd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud