sched: retain vruntime
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 29 Feb 2008 20:21:01 +0000 (15:21 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Mar 2008 15:42:59 +0000 (16:42 +0100)
commit810b38179e9e4d4f57b4b733767bb08f8291a965
tree91692de4fbd46879b29d803839b5bf7e25f30cd8
parentce4796d1e16cf3761dc2a02b8d588667d05b3078
sched: retain vruntime

Kei Tokunaga reported an interactivity problem when moving tasks
between control groups.

Tasks would retain their old vruntime when moved between groups, this
can cause funny lags. Re-set the vruntime on group move to fit within
the new tree.

Reported-by: Kei Tokunaga <tokunaga.keiich@jp.fujitsu.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/sched.c
kernel/sched_fair.c