Re: [PATCH] Add hierarchical accounting to cpu accountingcontroller

From: Ingo Molnar
Date: Tue Nov 11 2008 - 06:14:23 EST



* Bharata B Rao <bharata@xxxxxxxxxxxxxxxxxx> wrote:

> On Mon, Nov 10, 2008 at 02:09:37PM +0100, Ingo Molnar wrote:
> >
> > * Bharata B Rao <bharata@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > > I will resend the patch with other corrections you mentioned only if
> > > Paul/Ingo want this patch to go in.
> >
> > yes, please resend the fixed version.
>
> Here it is:
>
> Add hierarchical accounting to cpu accounting controller and include
> cpuacct documentation.
>
> Currently, while charging the task's cputime to its accounting group,
> the accounting group hierarchy isn't updated. This patch charges the cputime
> of a task to its accounting group and all its parent accounting groups.
>
> Reported-by: Srivatsa Vaddagiri <vatsa@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Bharata B Rao <bharata@xxxxxxxxxxxxxxxxxx>
> CC: Ingo Molnar <mingo@xxxxxxx>
> CC: Srivatsa Vaddagiri <vatsa@xxxxxxxxxxxxxxxxxx>
> Reviewed-by: Paul Menage <menage@xxxxxxxxxx>
> Acked-by: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx>
> Acked-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> ---
> Documentation/controllers/cpuacct.txt | 32 ++++++++++++++++++++++++++++++++
> kernel/sched.c | 12 +++++++++---
> 2 files changed, 41 insertions(+), 3 deletions(-)

applied to tip/sched/core, thanks Bharata!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/