From: Keir Fraser Subject: Re: [RFC][PATCH 2/2] Add hcall to probe Xen heap Date: Fri, 06 Jul 2007 16:15:26 +0100 Message-ID: References: <20070606160715.GR31467@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070606160715.GR31467@us.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ryan Harper , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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" wrote: > * Ryan Harper [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