]> Git Repo - qemu.git/commit - accel/tcg/translate-all.c
translate-all: discard TB when tb_link_page returns an existing matching TB
authorEmilio G. Cota <[email protected]>
Tue, 1 Aug 2017 19:40:16 +0000 (15:40 -0400)
committerRichard Henderson <[email protected]>
Fri, 15 Jun 2018 18:18:42 +0000 (08:18 -1000)
commit95590e24af11236ef334f6bc3e2b71404a790ddb
tree76e03c0f097bd05f4921fdc6cbe067cc9e2e598e
parentfaa9372c07d062eb01f9da72e3f6c0f32efffca7
translate-all: discard TB when tb_link_page returns an existing matching TB

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 <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Emilio G. Cota <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
accel/tcg/cpu-exec.c
accel/tcg/translate-all.c
docs/devel/multi-thread-tcg.txt
This page took 0.026102 seconds and 4 git commands to generate.