[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E8C7246.3060700@parallels.com>
Date: Wed, 5 Oct 2011 19:05:42 +0400
From: Glauber Costa <glommer@...allels.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
CC: <linux-kernel@...r.kernel.org>, <paul@...lmenage.org>,
<lizf@...fujitsu.com>, <daniel.lezcano@...e.fr>,
<jbottomley@...allels.com>, Balbir Singh <bsingharora@...il.com>,
Paul Turner <pjt@...gle.com>
Subject: Re: [PATCH 09/10] provide a version of cpuusage statistics inside
cpu cgroup
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists