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

Ingo Molnar (mingo@elte.hu)
Fri, 21 Mar 2003 06:30:19 +0100 (CET)


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/