tcg: move tb_ctx.tb_phys_invalidate_count to tcg_ctx
commit128ed2278c4e6ad063f101c5dda7999b43f2d8a3
authorEmilio G. Cota <cota@braap.org>
Tue, 1 Aug 2017 19:11:12 +0000 (1 15:11 -0400)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 15 Jun 2018 17:42:55 +0000 (15 07:42 -1000)
treeaaca67bc2efb756b33cecc236da40344119e5f81
parentbe2cdc5e352eb28b4ff631f053a261d91e6af78e
tcg: move tb_ctx.tb_phys_invalidate_count to tcg_ctx

Thereby making it per-TCGContext. Once we remove tb_lock, this will
avoid an atomic increment every time a TB is invalidated.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/translate-all.c
include/exec/tb-context.h
tcg/tcg.c
tcg/tcg.h