|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] [s390] possible deadlock in handle_sigp? |
Date: | Mon, 12 Sep 2016 18:44:17 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |