Re: [2.6.16-mm2 patch] don't awaken RT tasks on expired array

From: Ingo Molnar
Date: Fri Mar 31 2006 - 04:31:31 EST



* Mike Galbraith <efault@xxxxxx> wrote:

> RT tasks are being awakened on the expired array when
> expired_starving() is true, whereas they really should be excluded.
> Fix below.
>
> Signed-off-by: Mike Galbraith <efault@xxxxxx>

indeed, good catch.

Acked-by: Ingo Molnar <mingo@xxxxxxx>

> --- linux-2.6.16-mm2/kernel/sched.c.org 2006-03-31 09:56:37.000000000 +0200
> +++ linux-2.6.16-mm2/kernel/sched.c 2006-03-31 10:01:54.000000000 +0200
> @@ -820,7 +820,7 @@
> {
> prio_array_t *target = rq->active;

[nit: please use -p when generating patches. If you are using quilt you
can use QUILT_DIFF_OPTS="-p" in your .bashrc, and do 'quilt diff
--no-timestamps --sort' to get pretty patch output.]

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/