Dmitry Adamushko 326587b840 sched: fix goto retry in pick_next_task_rt()
looking at it one more time:

(1) it looks to me that there is no need to call
sched_rt_ratio_exceeded() from pick_next_rt_entity()

- [ for CONFIG_FAIR_GROUP_SCHED ] queues with rt_rq->rt_throttled are
not within this 'tree-like hierarchy' (or whatever we should call it
:-)

- there is also no need to re-check 'rt_rq->rt_time > ratio' at this
point as 'rt_rq->rt_time' couldn't have been increased since the last
call to update_curr_rt() (which obviously calls
sched_rt_ratio_esceeded())
well, it might be that 'ratio' for this rt_rq has been re-configured
(and the period over which this rt_rq was active has not yet been
finished)... but I don't think we should really take this into
account.

(2) now pick_next_rt_entity() must never return NULL, so let's change
pick_next_task_rt() accordingly.

Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-01-25 21:08:34 +01:00
..
2008-01-07 14:55:37 -08:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-10-21 02:37:45 -04:00
2007-11-14 18:45:37 -08:00
2007-10-18 14:37:24 -07:00
2008-01-25 21:08:30 +01:00
2008-01-25 21:08:32 +01:00
2007-10-18 14:37:26 -07:00
2008-01-25 21:08:29 +01:00
2007-10-16 09:43:10 -07:00
2008-01-25 21:08:24 +01:00
2007-10-19 11:53:34 -07:00
2007-12-20 15:01:17 +01:00
2007-11-14 18:45:43 -08:00
2008-01-25 21:07:59 +01:00
2008-01-25 21:08:33 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:24 +01:00
2008-01-25 21:08:25 +01:00
2007-10-18 14:37:24 -07:00
2008-01-25 21:08:29 +01:00
2007-12-17 19:28:17 -08:00
2008-01-25 21:08:29 +01:00
2007-10-18 14:37:24 -07:00