qemu/target/s390x
Emilio G. Cota 068a5ea02f qom: convert the CPU list to RCU
Iterating over the list without using atomics is undefined behaviour,
since the list can be modified concurrently by other threads (e.g.
every time a new thread is created in user-mode).

Fix it by implementing the CPU list as an RCU QTAILQ. This requires
a little bit of extra work to traverse list in reverse order (see
previous patch), but other than that the conversion is trivial.

Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <20180819091335.22863-12-cota@braap.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-08-23 18:46:25 +02:00
..
arch_dump.c
cc_helper.c
cpu_features_def.h
cpu_features.c
cpu_features.h
cpu_models.c qom: convert the CPU list to RCU 2018-08-23 18:46:25 +02:00
cpu_models.h
cpu-qom.h
cpu.c
cpu.h
crypto_helper.c
diag.c
excp_helper.c
fpu_helper.c
gdbstub.c
gen-features.c
helper.c
helper.h
insn-data.def
insn-format.def
int_helper.c
internal.h
interrupt.c
ioinst.c
kvm_s390x.h
kvm-stub.c
kvm.c s390x: Enable KVM huge page backing support 2018-08-20 14:18:49 +02:00
machine.c
Makefile.objs
mem_helper.c
misc_helper.c
mmu_helper.c
sigp.c
tcg_s390x.h
tcg-stub.c
trace-events
translate.c