qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] tcg-runtime: increase hit rate of lookup_tb_ptr


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH] tcg-runtime: increase hit rate of lookup_tb_ptr
Date: Wed, 14 Jun 2017 18:21:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

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 <address@hidden>

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~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]