Re: [PATCH 09/10] provide a version of cpuusage statistics insidecpu cgroup
From: Glauber Costa
Date: Wed Oct 05 2011 - 11:06:19 EST
On 10/05/2011 04:31 PM, Peter Zijlstra wrote:
On Wed, 2011-10-05 at 16:22 +0400, Glauber Costa wrote:
We should at least sum up se and rt_se, right?
Ah yes indeed.
sched_rt.c:
curr->se.sum_exec_runtime += delta_exec;
Where did I get this crazy idea about rt_se from? I swear I did not do
any drugs today...
Otherwise... I will re-read the code, but from a first sight, I think
you are right.
Good, less hierarchy walks -> *win*
--
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/