Re: [patch] sched-2.5.64-bk10-C4

From: Ingo Molnar (mingo@elte.hu)
Date: Fri Mar 21 2003 - 00:30:19 EST


On Thu, 20 Mar 2003, Eric Wong wrote:

> Would this be an equivalent fix for 2.4.20-ck4?

yes - but the reverse of it.

> - long sleep_time = jiffies - p->sleep_timestamp - 1;
> + unsigned long sleep_time = jiffies - p->sleep_timestamp;
> prio_array_t *array = rq->active;
>
> - if (!rt_task(p) && (sleep_time > 0)) {
> + if (!rt_task(p) && sleep_time) {

        Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:34 EST