qemu-patch-raspberry4/include/qom
Sergey Fedorov 3359baad36 tcg: Make tb_flush() thread safe
Use async_safe_run_on_cpu() to make tb_flush() thread safe.  This is
possible now that code generation does not happen in the middle of
execution.

It can happen that multiple threads schedule a safe work to flush the
translation buffer. To keep statistics and debugging output sane, always
check if the translation buffer has already been flushed.

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org>
[AJB: minor re-base fixes]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <1470158864-17651-13-git-send-email-alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-09-27 11:57:30 +02:00
..
cpu.h tcg: Make tb_flush() thread safe 2016-09-27 11:57:30 +02:00
object.h qom: Fix comment typo 2016-07-06 09:19:35 +02:00
object_interfaces.h qom: -object error messages lost location, restore it 2016-04-28 08:19:36 +02:00
qom-qobject.h qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00