sched/accounting: Fix user/system tick double accounting
authorGlauber Costa <glommer@parallels.com>
Fri, 2 Dec 2011 21:58:38 +0000 (19:58 -0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Dec 2011 19:51:23 +0000 (20:51 +0100)
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>
kernel/sched/core.c

Simple merge