Re: SCHED_RR is broken + patch

From: Dimitris Michailidis (dimitris@cthulhu.engr.sgi.com)
Date: Tue Apr 25 2000 - 17:48:51 EST


Borislav Deianov <borislav@lix.polytechnique.fr> writes:

> sched_yield doesn't always yield for SCHED_OTHER threads

Processes should yield only to higher or equal priority processes. A
SCHED_OTHER thread executing sched_yield doesn't have to yield just because
there may be other SCHED_OTHER processes available.

> counter for SCHED_FIFO threads is never reset

It should not expire in the first place. SCHED_FIFO processes do not have
slices.

-- 
Dimitris Michailidis                    dimitris@engr.sgi.com

- 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/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:10 EST