[Devel] [PATCH v7 04/11] sched: adjust exec_clock to use it as cpu usage metric

Tejun Heo tj at kernel.org
Thu Jun 6 16:00:12 PDT 2013


On Wed, May 29, 2013 at 03:03:15PM +0400, Glauber Costa wrote:
> exec_clock already provides per-group cpu usage metrics, and can be
> reused by cpuacct in case cpu and cpuacct are comounted.
> 
> However, it is only provided by tasks in fair class. Doing the same for
> rt is easy, and can be done in an already existing hierarchy loop. This
> is an improvement over the independent hierarchy walk executed by
> cpuacct.
> 
> Signed-off-by: Glauber Costa <glommer at openvz.org>
> CC: Dave Jones <davej at redhat.com>
> CC: Ben Hutchings <ben at decadent.org.uk>
> CC: Peter Zijlstra <a.p.zijlstra at chello.nl>
> CC: Paul Turner <pjt at google.com>
> CC: Lennart Poettering <lennart at poettering.net>
> CC: Kay Sievers <kay.sievers at vrfy.org>
> CC: Tejun Heo <tj at kernel.org>

Reviewed-by: Tejun Heo <tj at kernel.org>

Thanks.

-- 
tejun



More information about the Devel mailing list