qemu/include/qom
Paolo Bonzini 758e1b2b62 cpus-common: simplify locking for start_exclusive/end_exclusive
It is not necessary to hold qemu_cpu_list_mutex throughout the
exclusive section, because no other exclusive section can run
while pending_cpus != 0.

exclusive_idle() is called in cpu_exec_start(), and that prevents
any CPUs created after start_exclusive() from entering cpu_exec()
during an exclusive section.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-09-27 11:57:30 +02:00
..
cpu.h cpus-common: simplify locking for start_exclusive/end_exclusive 2016-09-27 11:57:30 +02:00
object_interfaces.h qom: -object error messages lost location, restore it 2016-04-28 08:19:36 +02:00
object.h qom: Fix comment typo 2016-07-06 09:19:35 +02:00
qom-qobject.h qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00