diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-02-10 10:23:28 +0100 |
---|---|---|
committer | AK <andi@firstfloor.org> | 2011-03-31 11:58:02 -0700 |
commit | 43c34b42474e03b54e11f6f17d87ce1160a83bc0 (patch) | |
tree | 107ca0acb61cae799d3fec822bbe5ff74dca4b4e /include | |
parent | 0ca4534301c1bd86d00e3ba6beeef045a606e0c5 (diff) |
sched, cgroup: Fixup broken cgroup movement
Commit: b2b5ce022acf5e9f52f7b78c5579994fdde191d4 upstream
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Tested-by: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1287150604.29097.1513.camel@twins>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 f359bea0983e..0c2e5b5d02cc 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1076,7 +1076,7 @@ struct sched_class { struct task_struct *task); #ifdef CONFIG_FAIR_GROUP_SCHED - void (*moved_group) (struct task_struct *p, int on_rq); + void (*task_move_group) (struct task_struct *p, int on_rq); #endif }; |