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] [RFC][PATCH 2/2] Add hcall to probe Xen heap

To: Ryan Harper <ryanh@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC][PATCH 2/2] Add hcall to probe Xen heap
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Fri, 06 Jul 2007 16:15:26 +0100
Delivery-date: Fri, 06 Jul 2007 08:13:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070606160715.GR31467@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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace/4Hr3ubjZIivTEdyDDQAX8io7RQ==
Thread-topic: [Xen-devel] [RFC][PATCH 2/2] Add hcall to probe Xen heap
User-agent: Microsoft-Entourage/11.3.3.061214
First, it should be a sysctl, not a domctl. Second, please add the zone
range checks into the function you added to page_alloc.c. This will avoid
making use of allocator-private defines outside of page_alloc.c (so you can
avoid moving NR_ZONES into mm.h.

By the way, the first patch of your pair is now checked in, after minor
tidying.

 -- Keir

On 6/6/07 17:07, "Ryan Harper" <ryanh@xxxxxxxxxx> wrote:

> * Ryan Harper <ryanh@xxxxxxxxxx> [2007-04-09 20:10]:
>> For post-3.0.5 inclusion:
>> 
>> Add new domctl hypercall to expose current heap values.  This functionality
>> is
>> needed for probing how much memory is available in a given node prior to VM
>> creation.
> 
> Refreshed to changeset:   15200:bd3d6b4c52ec


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

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