git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
198c74f
)
KVM: async_pf: kill the unnecessary use_mm/unuse_mm async_pf_execute()
author
Oleg Nesterov
<oleg@redhat.com>
Mon, 21 Apr 2014 13:25:58 +0000
(15:25 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 28 Apr 2014 15:24:25 +0000
(17:24 +0200)
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>
virt/kvm/async_pf.c
patch
|
blob
|
history
diff --cc
virt/kvm/async_pf.c
Simple merge