]> git.baikalelectronics.ru Git - kernel.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)
commitb8786d50dd5a53c9c926a4318c2c04ccb92363e4
treeec838b2002c9565b4c1b6631f9fe2fd93d7fe6c9
parentc46c00485214a9b9a2ab7d9f8f819d553f3b2b1c
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