Re: [PATCH] SCHED_FIFO and SCHED_RR scheduler fix, kernel 2.4.18

From: Robert Love (
Date: Thu Jun 13 2002 - 16:24:41 EST

On Thu, 2002-06-13 at 14:14, Bhavesh P. Davda wrote:

> No I haven't. What prompted me to go with the 2.4.18 kernel
> is the fact that the RedHat 7.3 2.4.18-3 kernel, with your O(1)
> scheduler patches besides hundreds of other patches any of which might
> also have changed the scheduler, doesn't honour SCHED_FIFO or SCHED_RR
> real-time priorities at all.

Huh? It certainly should...

> I would think that the logical place to add any process to the runqueue
> would be the back of the runqueue. If all processes are ALWAYS added to
> the back of the runqueue, then every process is GUARANTEED to eventually
> be scheduled. No process will be starved indefinitely.

You are entirely right, but Ingo's point is very valid: changing wakeup
behavior is risky and is not ideal in the middle of 2.4.

Fixing major bugs is fine for 2.4, but changing behavior to suit an
ideal is not. Now is your chance to do so for 2.5, however.

        Robert Love

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:29 EST