qemu-trivial
[Top][All Lists]
Advanced

[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: 陳韋任
Subject: Re: [Qemu-trivial] [PATCH] qemu-tech.texi: Update default code cache size
Date: Mon, 7 Nov 2011 17:27:51 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

> >   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
 
 
Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667



reply via email to

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