login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Balaji Rao <balajirrao@...>
Cc: <linux-kernel@...>, <menage@...>, <balbir@...>, <containers@...>, <dhaval@...>
Date: Friday, March 28, 2008 - 6:17 am

On Fri, 2008-03-28 at 15:32 +0530, Balaji Rao wrote:

It can be called from any context that has hardirqs disabled. And the __
prefix suggests as much, no need to tag _safe to the end as well, we
never do that.


Not sure what you want to use this for, but yeah, that makes most sense.

That is, I do know _what_ you want to use it for, just not sure which
requirements you put on it. The pure tick based thing might be good
enough for most purposes, the runtime proportion thing is just more
accurate.


--
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, Peter Zijlstra, (Fri Mar 28, 6:17 am)
speck-geostationary