* [Qemu-devel] CPU_TLB_BITS / CPU_TLB_SIZE
[not found] <20071003160352.23790gmx1@mx060.gmx.net>
@ 2007-10-04 12:38 ` Clemens Kolbitsch
2007-10-04 13:05 ` Thiemo Seufer
0 siblings, 1 reply; 4+ messages in thread
From: Clemens Kolbitsch @ 2007-10-04 12:38 UTC (permalink / raw)
To: qemu-devel
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)??
Or are there any side effects to that I should be aware of?
Thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] CPU_TLB_BITS / CPU_TLB_SIZE
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
0 siblings, 1 reply; 4+ messages in thread
From: Thiemo Seufer @ 2007-10-04 13:05 UTC (permalink / raw)
To: Clemens Kolbitsch; +Cc: qemu-devel
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.
Thiemo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] CPU_TLB_BITS / CPU_TLB_SIZE
2007-10-04 13:05 ` Thiemo Seufer
@ 2007-10-04 13:11 ` Clemens Kolbitsch
2007-10-04 13:46 ` Thiemo Seufer
0 siblings, 1 reply; 4+ messages in thread
From: Clemens Kolbitsch @ 2007-10-04 13:11 UTC (permalink / raw)
To: Thiemo Seufer; +Cc: qemu-devel
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!!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] CPU_TLB_BITS / CPU_TLB_SIZE
2007-10-04 13:11 ` Clemens Kolbitsch
@ 2007-10-04 13:46 ` Thiemo Seufer
0 siblings, 0 replies; 4+ messages in thread
From: Thiemo Seufer @ 2007-10-04 13:46 UTC (permalink / raw)
To: Clemens Kolbitsch; +Cc: qemu-devel
Clemens Kolbitsch wrote:
> 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?
Oh, right, I did confuse that. :-)
Thiemo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-04 13:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
2007-10-04 13:46 ` Thiemo Seufer
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).