Re: [PATCH v7 04/11] sched: adjust exec_clock to use it as cpu usagemetric

From: Tejun Heo
Date: Thu Jun 06 2013 - 19:00:30 EST


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@xxxxxxxxxx>
> CC: Dave Jones <davej@xxxxxxxxxx>
> CC: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
> CC: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> CC: Paul Turner <pjt@xxxxxxxxxx>
> CC: Lennart Poettering <lennart@xxxxxxxxxxxxxx>
> CC: Kay Sievers <kay.sievers@xxxxxxxx>
> CC: Tejun Heo <tj@xxxxxxxxxx>

Reviewed-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/