]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sched: rt-group: fix RR buglet
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 19 Jun 2008 07:06:59 +0000 (09:06 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 19 Jun 2008 07:06:59 +0000 (09:06 +0200)
commit15a8641eadb492ef7c5489faa25256967bdfd303
treeec838b2002c9565b4c1b6631f9fe2fd93d7fe6c9
parentad2a3f13b7258a5daaaeb8cff9f835aac468b71d
sched: rt-group: fix RR buglet

In tick_task_rt() we first call update_curr_rt() which can dequeue a runqueue
due to it running out of runtime, and then we try to requeue it, of it also
having exhausted its RR quota. Obviously requeueing something that is no longer
on the runqueue will not have the expected result.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Tested-by: Daniel K. <dk@uw.no>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_rt.c