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] New heap API and scrubbing

To: Jan Beulich <jbeulich@xxxxxxxxxx>, Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] New heap API and scrubbing
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 10 Feb 2009 08:44:58 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 10 Feb 2009 00:45:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49914753.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: AcmLWJd/pmDHe+2JSoe8Sy0XK+KWtAAA0Lxh
Thread-topic: [Xen-devel] New heap API and scrubbing
User-agent: Microsoft-Entourage/12.15.0.081119
On 10/02/2009 08:22, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>> synonomous on 64-bit hypervisors?  I.e. they
>> are allocating from the same pool of pages?
> 
> I thought thee was a small difference, but in looking at the code it seems
> there isn't at present. The difference I though would be there was that
> alloc_xenheap_pages() should be allowed to access MEMZONE_XEN,
> while alloc_domheap_pages() should only start allocating at MEMZONE_XEN+1.
> That way, by default Xen heap allocations would eat from the domain heap,
> but if that's empty would be allowed to fall back to the low memory portion.
> Keir?

MEMZONE_XEN is empty on ia64 and x86_64. I was considering killing it off
completely, but I haven't really thought too hard about alternatives for
i386 so I think I'll just leave it for now, vestigial for all but i386.

I hadn't considered the possibility of it having use as a last-chance
emergency pool. I'm not really sure about the value of that to be honest. I
don't think I'd bother.

 -- Keir



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