Messages in this thread | ![/](/images/icornerl.gif) | | From | Borislav Deianov <> | Date | Sun, 5 Dec 1999 16:22:14 +0100 | Subject | yet another scheduling problem |
| |
Hi,
After a SCHED_FIFO task exhausts its initial timeslice, its counter is never reset. It then starts causing reschedules on every timer tick. This doesn't alter scheduling behavior but it slows things down noticeably.
The fix would be to reset the counter in schedule(), similarly to the way we do it for SCHED_RR tasks. I'm not going to offer a patch as Artur's fixes touch enough places in schedule() already. Artur, please comment.
Regards, Borislav
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |