qemu-e2k/accel/tcg
David Hildenbrand d84be02d69 cpu-exec: fix missed CPU kick during interrupt injection
The conditional memory barrier not only looks strange but actually is
wrong.

On s390x, I can reproduce interrupts via cpu_interrupt() not leading to
a proper kick out of emulation every now and then. cpu_interrupt() is
especially used for inter CPU communication via SIGP (esp. external
calls and emergency interrupts).

With this patch, I was not able to reproduce. (esp. no stalls or hangs
in the guest).

My setup is s390x MTTCG with 16 VCPUs on 8 CPU host, running make -j16.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20171129191319.11483-1-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-12-21 09:22:44 +01:00
..
atomic_template.h
cpu-exec-common.c
cpu-exec.c cpu-exec: fix missed CPU kick during interrupt injection 2017-12-21 09:22:44 +01:00
cputlb.c
Makefile.objs
softmmu_template.h
tcg-all.c
tcg-runtime.c
tcg-runtime.h
trace-events
translate-all.c misc: remove duplicated includes 2017-12-18 17:07:02 +03:00
translate-all.h
translator.c
user-exec-stub.c
user-exec.c