TranslationBlocks are now inserted first into QHT and then into its
corresponding tcg_region_tree. This is problematic under MTTCG, as
other vCPU threads may immediately execute it, and even bailout before
the TB itself is inserted into its tcg_region_tree, resulting in an
incorrect CPUState after rewinding.
Liren Wei (2):
accel/tcg: Hoist tcg_tb_insert() up above tb_link_page()
tcg: Bake tb_destroy() into tcg_region_tree
accel/tcg/translate-all.c | 15 ++++++++-------
include/tcg/tcg.h | 1 -
tcg/region.c | 18 +++++++-----------
3 files changed, 15 insertions(+), 19 deletions(-)
--
2.32.0