diff options
author | Emilio G. Cota | 2017-08-01 21:11:12 +0200 |
---|---|---|
committer | Richard Henderson | 2018-06-15 19:42:55 +0200 |
commit | 128ed2278c4e6ad063f101c5dda7999b43f2d8a3 (patch) | |
tree | aaca67bc2efb756b33cecc236da40344119e5f81 /include/exec/tb-context.h | |
parent | tcg: track TBs with per-region BST's (diff) | |
download | qemu-128ed2278c4e6ad063f101c5dda7999b43f2d8a3.tar.gz qemu-128ed2278c4e6ad063f101c5dda7999b43f2d8a3.tar.xz qemu-128ed2278c4e6ad063f101c5dda7999b43f2d8a3.zip |
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>
Diffstat (limited to 'include/exec/tb-context.h')
-rw-r--r-- | include/exec/tb-context.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/exec/tb-context.h b/include/exec/tb-context.h index d8472c88fb..8c9b49c98e 100644 --- a/include/exec/tb-context.h +++ b/include/exec/tb-context.h @@ -37,7 +37,6 @@ struct TBContext { /* statistics */ unsigned tb_flush_count; - int tb_phys_invalidate_count; }; extern TBContext tb_ctx; |