diff options
author | Emilio G. Cota | 2017-08-05 00:58:37 +0200 |
---|---|---|
committer | Richard Henderson | 2018-06-15 20:18:48 +0200 |
commit | b7542f7fe8f879b7b1e74f5fbd36b5746dbb6712 (patch) | |
tree | a9d90c40d4dced207dc5ea8bf3083661012ff1e1 /include/exec/cpu-common.h | |
parent | translate-all: protect TB jumps with a per-destination-TB lock (diff) | |
download | qemu-b7542f7fe8f879b7b1e74f5fbd36b5746dbb6712.tar.gz qemu-b7542f7fe8f879b7b1e74f5fbd36b5746dbb6712.tar.xz qemu-b7542f7fe8f879b7b1e74f5fbd36b5746dbb6712.zip |
cputlb: remove tb_lock from tlb_flush functions
The acquisition of tb_lock was added when the async tlb_flush
was introduced in e3b9ca810 ("cputlb: introduce tlb_flush_* async work.")
tb_lock was there to allow us to do memset() on the tb_jmp_cache's.
However, since f3ced3c5928 ("tcg: consistently access cpu->tb_jmp_cache
atomically") all accesses to tb_jmp_cache are atomic, so tb_lock
is not needed here. Get rid of it.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@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/cpu-common.h')
0 files changed, 0 insertions, 0 deletions