Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1348288

Re: [RESEND PATCH 2/2] cpuacct: split usage into user_usage and sys_usage.

From 'Tejun Heo' <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH 2/2] cpuacct: split usage into user_usage and sys_usage.
Date 2016-03-02 17:20 +0100
Message-ID <r8hFh-1CS-33@gated-at.bofh.it> (permalink)
References <qI6P8-5Pb-13@gated-at.bofh.it> <qI6P8-5Pb-11@gated-at.bofh.it> <qIgls-3oF-13@gated-at.bofh.it> <r7PSF-7T6-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

On Tue, Mar 01, 2016 at 06:35:56PM +0800, Zhao Lei wrote:
> Hi, Tejun Heo
> 
> > From: linux-kernel-owner@vger.kernel.org
> > [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Tejun Heo
> > Sent: Tuesday, December 22, 2015 5:33 AM
> > To: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
> > Cc: cgroups@vger.kernel.org; linux-kernel@vger.kernel.org;
> > mingo@redhat.com; peterz@infradead.org
> > Subject: Re: [RESEND PATCH 2/2] cpuacct: split usage into user_usage and
> > sys_usage.
> > 
> > On Mon, Dec 21, 2015 at 07:14:43PM +0800, Dongsheng Yang wrote:
> > > Sometimes, cpuacct.usage is not detialed enough to user
> > > to see how much usage a group used. We want to know how
> > > much time it used in user mode and how much in kernel mode.
> > 
> Yang gave this patch to me :)
> I'm plan to continue this function.
> 
> > cpuusage is being phased out.  If you need these stats, please
> > implement it on cpu side.
>
> Currently, old stats are put in cpuacct, if we put new stats into cpu side,
> we have following way:

Yeah, on the second thought, at least for now, I think it's best to
put this in cpuacct.  We can do the trafer to the cpu controller
later.  Please feel free to add

 Acked-by: Tejun Heo <tj@kernel.org>

Thanks.

-- 
tejun

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

RE: [RESEND PATCH 2/2] cpuacct: split usage into user_usage and sys_usage. Zhao Lei <zhaolei@cn.fujitsu.com> - 2016-03-01 11:40 +0100
  Re: [RESEND PATCH 2/2] cpuacct: split usage into user_usage and  sys_usage. 'Tejun Heo' <tj@kernel.org> - 2016-03-02 17:20 +0100

csiph-web