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:
15096ff
)
KVM: fix the race while wakeup all pv guest
author
Xiao Guangrong
<xiaoguangrong@cn.fujitsu.com>
Mon, 1 Nov 2010 09:03:44 +0000
(17:03 +0800)
committer
Avi Kivity
<avi@redhat.com>
Wed, 12 Jan 2011 09:29:03 +0000
(11:29 +0200)
In kvm_async_pf_wakeup_all(), we add a dummy apf to vcpu->async_pf.done
without holding vcpu->async_pf.lock, it will break if we are handling apfs
at this time.
Also use 'list_empty_careful()' instead of 'list_empty()'
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Acked-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/async_pf.c
patch
|
blob
|
history
diff --cc
virt/kvm/async_pf.c
Simple merge