[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1316457411.6091.12.camel@twins>
Date:	Mon, 19 Sep 2011 20:36:51 +0200
From:	Peter Zijlstra <a.p.zijlstra@...llo.nl>
To:	Glauber Costa <glommer@...allels.com>
Cc:	linux-kernel@...r.kernel.org, xemul@...allels.com,
	paul@...lmenage.org, lizf@...fujitsu.com, daniel.lezcano@...e.fr,
	jbottomley@...allels.com
Subject: Re: [PATCH 3/9] Include nice values in cpuacct
On Mon, 2011-09-19 at 13:26 -0300, Glauber Costa wrote:
> On 09/19/2011 01:19 PM, Peter Zijlstra wrote:
> > On Wed, 2011-09-14 at 17:04 -0300, Glauber Costa wrote:
> >> Besides user and system.
> >
> >
> > Why!?
> Because this is the whole purpose of this series. Think that in a 
> reasonable use case, each cgroup will be tied to a container system. 
> Each of them wants to have its own statistics, in /proc/stat. The best 
> way I thought of doing it was to piggyback into cpuacct, instead of 
> coming up with a 124th accounting mechanism just for that.
> 
> I also used it do demonstrate how can we easily implement a new feature 
> found in hypervisors out of it, but this is really just the cherry on top.
OK, but then amend the changelog with something like:
Since we want to provide a full /proc/stat equivalent for cgroups, also
implement nice time.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists