qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Clemens Kolbitsch <clemens.kol@gmx.at>
To: Thiemo Seufer <ths@networkno.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] CPU_TLB_BITS / CPU_TLB_SIZE
Date: Thu, 4 Oct 2007 15:11:10 +0200	[thread overview]
Message-ID: <200710041511.10736.clemens.kol@gmx.at> (raw)
In-Reply-To: <20071004130522.GT16772@networkno.de>

On Thursday 04 October 2007 15:05:22 Thiemo Seufer wrote:
> Clemens Kolbitsch wrote:
> > hi everyone!
> > if i want to increase the size of my TLB (for emulating an i386
> > processor), is it enough to simply increase CPU_TLB_BITS (e.g. by one)??
>
> IIRC CPU_TLB_BITS needs to be a 2^n value.

sure that you don't confuse that with CPU_TLB_SIZE?

CPU_TLB_SIZE will always be a 2^n value because of its definition

#define CPU_TLB_SIZE (1 << CPU_TLB_BITS)


but honestly, I don't know (that's why i asked in the first place ;-) )

can someone back up thiemo's opinion? (or can you give me a hint on where this 
constraint is necessary?)

thanks!!

  reply	other threads:[~2007-10-04 13:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20071003160352.23790gmx1@mx060.gmx.net>
2007-10-04 12:38 ` [Qemu-devel] CPU_TLB_BITS / CPU_TLB_SIZE Clemens Kolbitsch
2007-10-04 13:05   ` Thiemo Seufer
2007-10-04 13:11     ` Clemens Kolbitsch [this message]
2007-10-04 13:46       ` Thiemo Seufer

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=200710041511.10736.clemens.kol@gmx.at \
    --to=clemens.kol@gmx.at \
    --cc=qemu-devel@nongnu.org \
    --cc=ths@networkno.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).