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: Peter Zijlstra <a.p.zijlstra@...>
Cc: Dhaval Giani <dhaval@...>, <linux-kernel@...>, <containers@...>, <menage@...>, <balbir@...>, Srivatsa Vaddagiri <vatsa@...>
Date: Thursday, April 10, 2008 - 12:09 pm

On Monday 07 April 2008 06:54:53 pm Peter Zijlstra wrote:
CPUs 
I 
Hi Peter,

This wont work for time based statistics. At nsec granularity, a word can hold 
a time value of up to ~4s. 

I propose to solve this problem by using a lock to protect the statistics, but 
only on 32bit architectures.

I'm not sure how good a solution this is, but that's the best I can think of 
ATM. 
-- 
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, (Thu Apr 10, 12:09 pm)