summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2008-11-17 15:39:52 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-17 16:55:53 +0100
commit74fcd524e808975dd546dac847119f1995a7c622 (patch)
tree9b6d2aa46509926a7922183ba728bb0300bfbc1e /kernel
parentad133ba3dc283300e5b62b5b7211d2f39fbf6ee7 (diff)
downloadop-kernel-dev-74fcd524e808975dd546dac847119f1995a7c622.zip
op-kernel-dev-74fcd524e808975dd546dac847119f1995a7c622.tar.gz
account_steal_time: kill the unneeded account_group_system_time()
Impact: remove unnecessary accounting call I don't actually understand account_steal_time() and I failed to find the commit which added account_group_system_time(), but this looks bogus. In any case rq->idle must be single-threaded, so it can't have ->totals. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index c94baf2..b388c9b 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4202,7 +4202,6 @@ void account_steal_time(struct task_struct *p, cputime_t steal)
if (p == rq->idle) {
p->stime = cputime_add(p->stime, steal);
- account_group_system_time(p, steal);
if (atomic_read(&rq->nr_iowait) > 0)
cpustat->iowait = cputime64_add(cpustat->iowait, tmp);
else
OpenPOWER on IntegriCloud