sched: mix tasks and groups
commit354d60c2ff72d86627dfe2089d186824abf4bb8e
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Sat, 19 Apr 2008 17:44:59 +0000 (19 19:44 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:44:59 +0000 (19 19:44 +0200)
tree10cea61ce7036448ed7246820c5575df2a61bb3b
parentea736ed5d353d7a3aa1cf8ce4cf8d947bc353fb2
sched: mix tasks and groups

This patch allows tasks and groups to exist in the same cfs_rq. With this
change the CFS group scheduling follows a 1/(M+N) model from a 1/(1+N)
fairness model where M tasks and N groups exist at the cfs_rq level.

[a.p.zijlstra@chello.nl: rt bits and assorted fixes]
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Signed-off-by: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_fair.c
kernel/sched_rt.c