[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4EBAAFAC.90205@parallels.com>
Date: Wed, 9 Nov 2011 14:51:56 -0200
From: Glauber Costa <glommer@...allels.com>
To: Andrew Wagin <avagin@...il.com>
CC: <linux-kernel@...r.kernel.org>, <paul@...lmenage.org>,
<lizf@...fujitsu.com>, <daniel.lezcano@...e.fr>,
<a.p.zijlstra@...llo.nl>, <jbottomley@...allels.com>,
<pjt@...gle.com>, <fweisbec@...il.com>,
Balbir Singh <bsingharora@...il.com>
Subject: Re: [PATCH v2 13/14] provide a version of cpuusage statistics inside
cpu cgroup
On 11/09/2011 12:18 PM, Andrew Wagin wrote:
> And look at cfs_rq->prev_sum_exec_runtime, probably it is not used too.
> Usage of cfs_rq->sum_exec_runtime looks strange.
No, it is not.
se->sum_exec_runtime is a per-se measure. It follows the task group as
it moves from rq to rq. cfs->rq->sum_exec_runtime (and it's rt
counterpart) is a measurement of accumulated runtime of all tasks that
ever passed through this rq.
--
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