diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-10-15 09:24:15 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-10-22 08:16:45 -0400 |
commit | b2b5ce022acf5e9f52f7b78c5579994fdde191d4 (patch) | |
tree | 15e7d1742b530cdbe7b0734378e7f043b9a5faac /include | |
parent | b7dadc38797584f6203386da1947ed5edf516646 (diff) |
sched, cgroup: Fixup broken cgroup movement
Dima noticed that we fail to correct the ->vruntime of sleeping tasks
when we move them between cgroups.
Reported-by: Dima Zavin <dima@android.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Tested-by: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1287150604.29097.1513.camel@twins>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 2cca9a92f5e5..be312c129787 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1073,7 +1073,7 @@ struct sched_class { | |||
1073 | struct task_struct *task); | 1073 | struct task_struct *task); |
1074 | 1074 | ||
1075 | #ifdef CONFIG_FAIR_GROUP_SCHED | 1075 | #ifdef CONFIG_FAIR_GROUP_SCHED |
1076 | void (*moved_group) (struct task_struct *p, int on_rq); | 1076 | void (*task_move_group) (struct task_struct *p, int on_rq); |
1077 | #endif | 1077 | #endif |
1078 | }; | 1078 | }; |
1079 | 1079 | ||