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: Nathan Froyd
Subject: Re: [Qemu-devel] [PATCH] Refactor flush of per-CPU virtual TB cache
Date: Fri, 22 Oct 2010 14:53:20 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

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?

-Nathan



reply via email to

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