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

Re: [Xen-devel] [RFC][PATCH 2/2] Add hcall to probe Xen heap


  • To: Ryan Harper <ryanh@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Fri, 06 Jul 2007 16:15:26 +0100
  • Delivery-date: Fri, 06 Jul 2007 08:13:29 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Ace/4Hr3ubjZIivTEdyDDQAX8io7RQ==
  • Thread-topic: [Xen-devel] [RFC][PATCH 2/2] Add hcall to probe Xen heap

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.