[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH] qemu-tech.texi: Update default code cache siz
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-trivial] [PATCH] qemu-tech.texi: Update default code cache size |
Date: |
Mon, 7 Nov 2011 16:18:27 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Nov 07, 2011 at 05:27:51PM +0800, 陳韋任 wrote:
> > > Update the document since the default code cache size is 32 MB now.
> > >
> > > Signed-off-by: chenwj <address@hidden>
> > > ---
> > > qemu-tech.texi | 2 +-
> > > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > Can you point me to the place in the code where we use 32 MB?
>
> In exec.c,
>
> #define DEFAULT_CODE_GEN_BUFFER_SIZE (32 * 1024 * 1024) <--- HERE
>
> #ifdef USE_STATIC_CODE_GEN_BUFFER
> static uint8_t static_code_gen_buffer[DEFAULT_CODE_GEN_BUFFER_SIZE]
> __attribute__((aligned (CODE_GEN_ALIGN)));
> #endif
Thank you. I don't work on TCG and after a little bit of unsuccessful
grepping I figured it would be easiest to ask you :).
Stefan