Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138835
b: refs/heads/master
c: 5a3c8fe
h: refs/heads/master
i:
  138833: efed1ee
  138831: c426721
v: v3
  • Loading branch information
Ingo Molnar committed Mar 30, 2009
1 parent 19afac8 commit 6ee388a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3fab191002b184e4390aa07c7149c6cc7b638ec7
refs/heads/master: 5a3c8fe7353f78b73b9636353c6f7b881f19ebea
5 changes: 2 additions & 3 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -10001,11 +10001,10 @@ static void cpuacct_charge(struct task_struct *tsk, u64 cputime)
cpu = task_cpu(tsk);
ca = task_ca(tsk);

do {
for (; ca; ca = ca->parent) {
u64 *cpuusage = per_cpu_ptr(ca->cpuusage, cpu);
*cpuusage += cputime;
ca = ca->parent;
} while (ca);
}
}

struct cgroup_subsys cpuacct_subsys = {
Expand Down

0 comments on commit 6ee388a

Please sign in to comment.