sched: maintain only task entities in cfs_rq->tasks list
commitb87f17242da6b2ac6db2d179b2f93fb84cff2fbe
authorBharata B Rao <bharata@linux.vnet.ibm.com>
Thu, 25 Sep 2008 04:23:54 +0000 (25 09:53 +0530)
committerIngo Molnar <mingo@elte.hu>
Thu, 25 Sep 2008 09:24:11 +0000 (25 11:24 +0200)
tree7c90ccd5b3a307670f939b944a2bf32d523a3b15
parent57fdc26d4a734a3e00c6b2fc0e1e40ff8da4dc31
sched: maintain only task entities in cfs_rq->tasks list

cfs_rq->tasks list is used by the load balancer to iterate
over all the tasks. Currently it holds all the entities
(both task and group entities) because of which there is
a need to check for group entities explicitly during load
balancing. This patch changes the cfs_rq->tasks list to
hold only task entities.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c