]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched, cgroup: Fixup broken cgroup movement
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 15 Oct 2010 13:24:15 +0000 (15:24 +0200)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:39 +0000 (12:46 -0400)
commitd4d67e0abb92d7237a2e95dd9106bdc69723ade7
tree95c53143aa0d4311584e1b49f7ffe5c47f538ece
parentadb7b32eaad2f2ea88ca86864e6095f28bcbea75
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>
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: Paul Gortmaker <paul.gortmaker@windriver.com>
include/linux/sched.h
kernel/sched.c
kernel/sched_fair.c