summaryrefslogtreecommitdiffstats
path: root/virt/kvm/ioapic.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-04-21 15:25:58 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-04-28 17:24:25 +0200
commitd72d946d0b649b79709b99b9d5cb7269fff8afaa (patch)
tree3675c544f3193c0f829fb9b0d60af070a7c785bd /virt/kvm/ioapic.c
parent198c74f43f0f5473f99967aead30ddc622804bc1 (diff)
downloadop-kernel-dev-d72d946d0b649b79709b99b9d5cb7269fff8afaa.zip
op-kernel-dev-d72d946d0b649b79709b99b9d5cb7269fff8afaa.tar.gz
KVM: async_pf: kill the unnecessary use_mm/unuse_mm async_pf_execute()
async_pf_execute() has no reasons to adopt apf->mm, gup(current, mm) should work just fine even if current has another or NULL ->mm. Recently kvm_async_page_present_sync() was added insedie the "use_mm" section, but it seems that it doesn't need current->mm too. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/ioapic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud