summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorAlex Bennée2017-02-23 19:29:13 +0100
committerAlex Bennée2017-02-24 11:32:45 +0100
commit2f1696066049c25f7f7d75352aa0cad3b0b1d87e (patch)
treedffa7c3f5409cc5359e105446352daf8384ddd96 /scripts/switch-timer-api
parenttcg: remove global exit_request (diff)
downloadqemu-2f1696066049c25f7f7d75352aa0cad3b0b1d87e.tar.gz
qemu-2f1696066049c25f7f7d75352aa0cad3b0b1d87e.tar.xz
qemu-2f1696066049c25f7f7d75352aa0cad3b0b1d87e.zip
tcg: enable tb_lock() for SoftMMU
tb_lock() has long been used for linux-user mode to protect code generation. By enabling it now we prepare for MTTCG and ensure all code generation is serialised by this lock. The other major structure that needs protecting is the l1_map and its PageDesc structures. For the SoftMMU case we also use tb_lock() to protect these structures instead of linux-user mmap_lock() which as the name suggests serialises updates to the structure as a result of guest mmap operations. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions