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] [PATCH] xenpaging: track number of paged pages in struct

To: Tim Deegan <tim@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xenpaging: track number of paged pages in struct domain
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Fri, 16 Sep 2011 13:32:54 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 16 Sep 2011 04:33:50 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1316172787; l=1225; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=SgYhQhFXq0QNRYsd2UYt4Zu5rRs=; b=g1lVXitiKTkJ5TNN0TuLFwgGTL/LZ/d12Ni93fl30YbPSJRuAgvVK/IimFRlRobSLi5 SWNBGQbhh8YaoG8ls0d4gmfpUpsDnVmc5huvmHBc/FaY057JzEVZqNzsWQO2bGVQZdgsf OvcEE7yy2KRBnJRbIx7lzRkm/iTbv/oE4sc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110916112403.GB95880@xxxxxxxxxxxxxxxxxxxxx>
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>
References: <13b4be345ebac016abe2.1316089567@xxxxxxxxxxxx> <20110916112403.GB95880@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21.rev5535 (2011-07-01)
On Fri, Sep 16, Tim Deegan wrote:

> At 14:26 +0200 on 15 Sep (1316096767), Olaf Hering wrote:
> > # HG changeset patch
> > # User Olaf Hering <olaf@xxxxxxxxx>
> > # Date 1316089500 -7200
> > # Node ID 13b4be345ebac016abe26386417824a0c47d762d
> > # Parent  e90438f6e6d1585a71b18784a99c162b5d95f390
> > xenpaging: track number of paged pages in struct domain
> > 
> > The toolstack should know how many pages are paged-out at a given point
> > in time so it could make smarter decisions about how many pages should
> > be paged or ballooned.
> > 
> > Add a new member to xen_domctl_getdomaininfo and bump interface version.
> > Use the new member in xc_dominfo_t.
> > The SONAME of libxc should be changed if this patch gets applied.
> > 
> > Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
> 
> For the xen parts, Acked-by: Tim Deegan <tim@xxxxxxx>
> 
> Again, I'd like the tools maintainers to ack/nack the change to the domctl
> interface and associated libxc plumbing.  

Thanks, but please wait a bit before applying it.
Eventually a new XENMEM op is required as well to export that value for
a guests balloon driver. I'm not finished yet with browsing the
codepaths which make use of tot_pages.

Olaf

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