diff options
| author | KONRAD Frederic | 2016-10-27 17:10:06 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2016-10-31 10:51:16 +0100 |
| commit | a5e998262fd76fd4b3e537db77bfb8a396bfae69 (patch) | |
| tree | 032f7dc499b7e051181e69d8405f177a6ed49d2a /linux-user | |
| parent | translate-all: Add assert_(memory|tb)_lock annotations (diff) | |
| download | qemu-a5e998262fd76fd4b3e537db77bfb8a396bfae69.tar.gz qemu-a5e998262fd76fd4b3e537db77bfb8a396bfae69.tar.xz qemu-a5e998262fd76fd4b3e537db77bfb8a396bfae69.zip | |
tcg: protect translation related stuff with tb_lock.
This protects all translation related work with tb_lock() too ensure
thread safety. This effectively serialises all code generation. In
addition to the code generation we also take the lock for TB
invalidation. This has a knock on effect of meaning tb_lock() is held
for modification of the SoftMMU TLB by non-self threads which will be
used in later patches.
Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Message-Id: <1439220437-23957-8-git-send-email-fred.konrad@greensocs.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[AJB: moved into tree, clean-up history]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-Id: <20161027151030.20863-10-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions
