From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] xenpaging: track number of paged pages in struct domain Date: Fri, 16 Sep 2011 13:32:54 +0200 Message-ID: <20110916113254.GA7332@aepfle.de> References: <13b4be345ebac016abe2.1316089567@probook.site> <20110916112403.GB95880@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20110916112403.GB95880@ocelot.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, Sep 16, Tim Deegan wrote: > At 14:26 +0200 on 15 Sep (1316096767), Olaf Hering wrote: > > # HG changeset patch > > # User Olaf Hering > > # 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 > > For the xen parts, Acked-by: Tim Deegan > > 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