diff options
author | Emilio G. Cota <cota@braap.org> | 2017-08-01 15:40:16 -0400 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-06-15 08:18:42 -1000 |
commit | 95590e24af11236ef334f6bc3e2b71404a790ddb (patch) | |
tree | 76e03c0f097bd05f4921fdc6cbe067cc9e2e598e /blockjob.c | |
parent | faa9372c07d062eb01f9da72e3f6c0f32efffca7 (diff) |
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 <richard.henderson@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 'blockjob.c')
0 files changed, 0 insertions, 0 deletions