Re: [RFC][-mm] [1/2] Simple stats for cpu resource controller

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dhaval Giani <dhaval@...>
Cc: <linux-kernel@...>, <containers@...>, <menage@...>, <a.p.zijlstra@...>, <balbir@...>, Srivatsa Vaddagiri <vatsa@...>
Date: Saturday, April 5, 2008 - 4:31 pm

On Sunday 06 April 2008 01:10:41 am Dhaval Giani wrote:
<snip>
Just to keep things clearly separated. If you've not noticed, 
CPU_CGROUP_STAT_NSTATS is not a stat.
Right. But these stats are not only going to measure time. We need the same 
variables for measuring other stats as well. I'm not sure if we would 
encounter scheduler stats that would count negative.

Balbir, what do you say ?

ok. How does 'value' look  ?

<snip>

Hmmm.. You are right.This does not prevent concurrent updates on other CPUs 
from crossing a 32bit boundary. Am not sure how to do this in a safe way. I 
can only think of using atomic64_t now..


Thanks for the review.

-- 
regards,
Balaji Rao
Dept. of Mechanical Engineering,
National Institute of Technology Karnataka, India
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC][-mm] [1/2] Simple stats for cpu resource controller, Balaji Rao, (Sat Apr 5, 4:31 pm)