sched: Fix rt_rq->pushable_tasks initialization in init_rt_rq()
authorFabio Checconi <fchecconi@gmail.com>
Mon, 15 Jun 2009 18:56:38 +0000 (20:56 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Jul 2009 08:43:30 +0000 (10:43 +0200)
commitc20b08e3986c2dbfa6df1e880bf4f7159994d199
treeea539701a3cf78b8e2f1d2aab2a2ec442d00f690
parent7793527b90d9418211f4fe8464cc1dcb1631ea1b
sched: Fix rt_rq->pushable_tasks initialization in init_rt_rq()

init_rt_rq() initializes only rq->rt.pushable_tasks, and not the
pushable_tasks field of the passed rt_rq.  The plist is not used
uninitialized since the only pushable_tasks plists used are the
ones of root rt_rqs; anyway reinitializing the list on every group
creation corrupts the root plist, losing its previous contents.

Signed-off-by: Fabio Checconi <fabio@gandalf.sssup.it>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090615185638.GK21741@gandalf.sssup.it>
CC: Gregory Haskins <ghaskins@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c