On 09/23/2016 12:31 AM, Paolo Bonzini wrote:
+        if (atomic_read(&other_cpu->running)) {
...
+    atomic_set(&cpu->running, true);
...
+            cpu->running = false;
...
+            cpu->running = true;

Inconsistent use of atomics. I don't see that the cpu_list_lock protects the last two lines in any way.


r~

Reply via email to