Re: [PATCH] 2.6.3 Posix scheduling violation for !SCHED_OTHER
From: Ingo Molnar
Date: Tue Mar 23 2004 - 19:02:11 EST
* Joe Korty <joe.korty@xxxxxxxx> wrote:
> Andrew,
> The following fixes a problem where a SCHED_FIFO task would on
> occasion be moved to the end of its runqueue when returned to from a
> preemption. Cause was do to some SCHED_OTHER code in schedule() which
> was being run for tasks of every policy.
yes, indeed this is a bug.
> - if (next->activated > 0) {
> + if (!rt_task(next) && next->activated > 0) {
the patch looks good. Andrew, please apply.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/