On 04/05/2018 04:13 PM, Emilio G. Cota wrote: > Use the recently-gained QHT feature of returning the matching TB if it > already exists. This allows us to get rid of the lookup we perform > right after acquiring tb_lock. > > Suggested-by: Richard Henderson <r...@twiddle.net> > Signed-off-by: Emilio G. Cota <c...@braap.org> > --- > docs/devel/multi-thread-tcg.txt | 3 +++ > accel/tcg/cpu-exec.c | 14 ++---------- > accel/tcg/translate-all.c | 50 > +++++++++++++++++++++++++++++++++-------- > 3 files changed, 46 insertions(+), 21 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~