Re: SCHED_RR is broken + patch

Dimitris Michailidis (dimitris@cthulhu.engr.sgi.com)
25 Apr 2000 15:48:51 -0700


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/