Messages in this thread | | | Date | Wed, 5 Jun 2013 18:49:29 -0700 | From | Tejun Heo <> | Subject | Re: [PATCH v7 00/11] per-cgroup cpu-stat |
| |
Hello, Glauber.
On Wed, May 29, 2013 at 03:03:11PM +0400, Glauber Costa wrote: > I am *not* going as far as marking cpuacct deprecated, because I think it > deserves a special discussion (even though my position in this matter is widely > known), but all the infrastructure to make it happen is here. But after this, > it should be a matter of setting a flag (or not).
I'll ensure that cpuacct can't be used with sane_behavior from cgroup core side, so that it can be deprecated with multiple hierarchies eventually.
> Through this patchset I am making cpu cgroup provide the same functionality of > cpuacct, and now with a more clear semantics, I attempt to provide userspace > with enough information to reconstruct per-container version of files like > "/proc/stat". In particular, we are interested in knowing the per-cgroup slices > of user time, system time, wait time, number of processes, and a variety of > statistics. > > To make sure we can count nr of switches correctly, I am ressurecting one of > Peter's patches that apparently got nowhere in the past.
I generally agree with the approach but which tree is it based on? Can you please let me know the base commit so that I can review the series properly?
Thanks.
-- tejun
| |