WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Dom0 initial memory map guarantees

To: Jan Beulich <jbeulich@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Dom0 initial memory map guarantees
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 30 Mar 2009 10:54:23 +0100
Cc:
Delivery-date: Mon, 30 Mar 2009 02:54:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49D0A898.76E4.0078.0@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmxGvB/JbabSx0jRvC+lLJjzs05qQAApBTw
Thread-topic: [Xen-devel] Dom0 initial memory map guarantees
User-agent: Microsoft-Entourage/12.15.0.081119
On 30/03/2009 10:10, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

> While for DomU's the initial memory map clearly cannot be expected to be
> contiguous in MFN space, currently it happens to be that way for (x86)
> Dom0 (and even the !NDEBUG case only intentionally breaks this for the
> space beyond v_end).
> 
> Without a formal guarantee it would seem fragile, however, to rely on
> this. Thus the question is whether it's reasonable to document such a
> behavior, or whether instead any such assumption should be forcefully
> broken by the Dom0 builder.

You can feel free to forcefully break it in debug builds of Xen. We already
do for most of dom0's allocation, but we don't bother for the initial memory
map. That's just laziness however -- contiguity is not guaranteed.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>