diff options
author | Bharata B Rao <bharata@linux.vnet.ibm.com> | 2008-11-10 20:41:13 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-11 12:13:28 +0100 |
commit | 934352f214b3251eb0793c1209d346595a661d80 (patch) | |
tree | 375ac56485c20f7b7cf783c3ca2980a76dc94fce /arch/x86/kernel/init_task.c | |
parent | ff9b48c3598732926fa09afd7f526981c32a48cc (diff) |
sched: add hierarchical accounting to cpu accounting controller
Impact: improve CPU time accounting of tasks under the cpu accounting controller
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@linux.vnet.ibm.com>
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: Paul Menage <menage@google.com>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/init_task.c')
0 files changed, 0 insertions, 0 deletions