All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan Froyd <froydnj@codesourcery.com>
To: Lluís <xscript@gmx.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Refactor flush of per-CPU virtual TB cache
Date: Fri, 22 Oct 2010 14:53:20 -0400	[thread overview]
Message-ID: <20101022185319.GU2806@nightcrawler> (raw)
In-Reply-To: <878w1qf5cc.fsf@ginnungagap.bsc.es>

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	other threads:[~2010-10-22 18:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19 19:57 [Qemu-devel] [PATCH] Refactor flush of per-CPU virtual TB cache Lluís
2010-10-22 18:53 ` Nathan Froyd [this message]
2010-10-22 19:34   ` Lluís

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101022185319.GU2806@nightcrawler \
    --to=froydnj@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    --cc=xscript@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.