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/
Home Products Support Community News


Re: [Xen-devel] [PATCH 1/2] cpu steal time accounting

To: Rik van Riel <riel@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/2] cpu steal time accounting
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 21 Feb 2006 17:42:18 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Feb 2006 17:49:11 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.63.0602201950570.5828@xxxxxxxxxxxxxxxxxxxxxx>
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>
References: <Pine.LNX.4.63.0602201950570.5828@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 21 Feb 2006, at 00:51, Rik van Riel wrote:

Allow guest domains to get information from the hypervisor on how much
cpu time their virtual cpus have used.  This is needed to estimate the
cpu steal time.

Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>

Probably we'll kill off the dom0_op instead (or at least rename the info structure and leave the old dom0_op just as a legacy placeholder for a while).

Looking at the other patch, I think I'm missing higher level context regarding what this patch is about. I grepped around for account_steal_time() -- looks like it's currently used by s390, but as part of a rather bigger patch that also calls account_user_time/account_system_time.

Is there a lkml thread I should read to get up to speed on this? Should your patch be using those other functions in this account_foo_time api? What functionality do we currently miss by not targetting that api?


Xen-devel mailing list