qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] exec: limit system memory size


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] exec: limit system memory size
Date: Mon, 04 Nov 2013 13:11:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

Il 04/11/2013 13:04, Michael S. Tsirkin ha scritto:
> > > > Also, I'm not sure what will this test tell
> > > > us: inl reads io space, not memory, right?
> > 
> > The number of levels in the dispatch radix tree is independent of the
> > size of the AddressSpace; it is P_L2_LEVELS for both the 64K io space
> > and the 2^TARGET_PHYS_ADDRESS_SPACE_BITS memory space.
> 
> Hmm I think it's *at most* that deep but can be more shallow, no?

Yes, but it gets more shallow only if you have very large regions (which
is obviously not the case for io space).  The levels always cover the
same bit range (e.g. bits 42-51 for the first level on x86).

Paolo



reply via email to

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