qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Refactor flush of per-CPU virtual TB cache


From: Lluís
Subject: Re: [Qemu-devel] [PATCH] Refactor flush of per-CPU virtual TB cache
Date: Fri, 22 Oct 2010 21:34:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Nathan Froyd writes:

> On Tue, Oct 19, 2010 at 09:57:13PM +0200, Lluís wrote:
>> --- a/exec.c
>> +++ b/exec.c
>> @@ -688,6 +688,11 @@ static void page_flush_tb(void)
>> }
>> }
>> 
>> +void tb_flush_jmp_cache (CPUState * env)
>> +{
>> +    memset (env->tb_jmp_cache, 0, TB_JMP_CACHE_SIZE * sizeof (void *));
>> +}
>> +

> This is only used in this file.  Why not make it static?

I use it later on the instrumentation set of patches. Which reminds me
that I should have defined it as "inline".

Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth



reply via email to

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