summary refs log tree commit diff stats
path: root/include/exec/memory-internal.h
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2017-08-04 18:58:37 -0400
committerRichard Henderson <richard.henderson@linaro.org>2018-06-15 08:18:48 -1000
commitb7542f7fe8f879b7b1e74f5fbd36b5746dbb6712 (patch)
treea9d90c40d4dced207dc5ea8bf3083661012ff1e1 /include/exec/memory-internal.h
parent194125e3ebd553acb02aaf3797a4f0387493fe94 (diff)
downloadfocaccia-qemu-b7542f7fe8f879b7b1e74f5fbd36b5746dbb6712.tar.gz
focaccia-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/memory-internal.h')
0 files changed, 0 insertions, 0 deletions