diff options
author | Glauber Costa <glommer@parallels.com> | 2011-12-02 19:58:38 -0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-12-06 20:51:23 +0100 |
commit | 1c77f38ad623d8c3bc062f0ff9b8c5a2dfb2f1a2 (patch) | |
tree | a4ff4aca033b73715c87868d0ce366169655825c /kernel/sys_ni.c | |
parent | 54c707e98de9ca899e6552a47c797c62c45885ee (diff) | |
download | linux-1c77f38ad623d8c3bc062f0ff9b8c5a2dfb2f1a2.tar.gz linux-1c77f38ad623d8c3bc062f0ff9b8c5a2dfb2f1a2.tar.bz2 linux-1c77f38ad623d8c3bc062f0ff9b8c5a2dfb2f1a2.zip |
sched/accounting: Fix user/system tick double accounting
Now that we're pointing cpuacct's root cgroup to cpustat and accounting
through task_group_account_field(), we should not access cpustat directly.
Since it is done anyway inside the acessor function, we end up accounting
it twice, which is wrong.
Signed-off-by: Glauber Costa <glommer@parallels.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1322863119-14225-2-git-send-email-glommer@parallels.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sys_ni.c')
0 files changed, 0 insertions, 0 deletions