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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dhaval Giani
Date: Saturday, April 5, 2008 - 1:59 pm

On Sun, Apr 06, 2008 at 02:01:52AM +0530, Balaji Rao wrote:

I would prefer to keep the stats logically separate. So something like
struct cpu_cgroup_stat_cpu {
	u64 time[];
	s64 some_other_stat;
}
and so on. (I am not sure, is there some advantage gained by using
structs?) Makes the code more maintainable imho.


I am going to answer that one when I am awake :-)

-- 
regards,
Dhaval
--
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, Dhaval Giani, (Sat Apr 5, 1:59 pm)