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 s390x/kvm: add etoken facility 2018-08-20 14:18:49 +02:00
cpu_features.c s390x/kvm: add etoken facility 2018-08-20 14:18:49 +02:00
cpu_features.h s390x/cpumodel: enum type S390FeatGroup now gets generated 2018-08-20 14:18:49 +02:00
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 s390x: remove 's390-squash-mcss' option 2018-08-20 14:18:49 +02:00
cpu.h s390x/kvm: add etoken facility 2018-08-20 14:18:49 +02:00
crypto_helper.c
diag.c
excp_helper.c
fpu_helper.c
gdbstub.c
gen-features.c s390x/kvm: add etoken facility 2018-08-20 14:18:49 +02:00
helper.c
helper.h s390x/tcg: implement SET CLOCK 2018-07-02 10:37:38 +02:00
insn-data.def s390x/tcg: implement SET CLOCK 2018-07-02 10:37:38 +02:00
insn-format.def
int_helper.c
internal.h s390x/tcg: properly implement the TOD 2018-07-02 10:37:38 +02:00
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 s390x/kvm: add etoken facility 2018-08-20 14:18:49 +02:00
Makefile.objs s390x/tcg: rearm the CKC timer during migration 2018-07-02 10:37:38 +02:00
mem_helper.c
misc_helper.c s390x/tcg: fix locking problem with tcg_s390_tod_updated 2018-07-02 10:37:38 +02:00
mmu_helper.c
sigp.c
tcg_s390x.h s390x/tcg: properly implement the TOD 2018-07-02 10:37:38 +02:00
tcg-stub.c s390x/tcg: rearm the CKC timer during migration 2018-07-02 10:37:38 +02:00
trace-events
translate.c s390x/tcg: implement SET CLOCK 2018-07-02 10:37:38 +02:00