On 06/14/2017 01:27 PM, Emilio G. Cota wrote:
On Wed, Jun 14, 2017 at 12:48:17 -0700, Richard Henderson wrote:
We can call tb_htable_lookup even when the tb_jmp_cache
is completely empty. Therefore, un-nest most of the code
dependent on tb != NULL from the read from the cache.
Signed-off-by: Richard Henderson <r...@twiddle.net>
I just wrote this alternative patch, which does the same thing
as yours. I also measured what the effect of this change
has on the hit rate of lookup_tb_ptr. Feel free to reuse parts
of the patch and/or the commit message!
Thanks. I'll adjust the commit.
r~