qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [s390] possible deadlock in handle_sigp?
@ 2016-09-12 16:44 Paolo Bonzini
  2016-09-12 17:37 ` Christian Borntraeger
  2016-09-20 11:57 ` [Qemu-devel] [PATCH] s390x/kvm: Fix potential deadlock in sigp handling Christian Borntraeger
  0 siblings, 2 replies; 10+ messages in thread
From: Paolo Bonzini @ 2016-09-12 16:44 UTC (permalink / raw)
  To: KVM list, Cornelia Huck, Christian Borntraeger, qemu-devel

I think that two CPUs doing reciprocal SIGPs could in principle end up
waiting on each other to complete their run_on_cpu.  If the SIGP has to
be synchronous the fix is not trivial (you'd have to put the CPU in a
state similar to cpu->halted = 1), otherwise it's enough to replace
run_on_cpu with async_run_on_cpu.

Thanks,

Paolo

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-09-20 11:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-12 16:44 [Qemu-devel] [s390] possible deadlock in handle_sigp? Paolo Bonzini
2016-09-12 17:37 ` Christian Borntraeger
2016-09-12 18:03   ` Paolo Bonzini
2016-09-13 13:06     ` Christian Borntraeger
2016-09-15 19:21       ` David Hildenbrand
2016-09-15 20:50         ` Paolo Bonzini
2016-09-19  8:15         ` Christian Borntraeger
2016-09-19 11:25           ` David Hildenbrand
2016-09-19 11:45             ` Christian Borntraeger
2016-09-20 11:57 ` [Qemu-devel] [PATCH] s390x/kvm: Fix potential deadlock in sigp handling Christian Borntraeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).