lkml.org 
[lkml]   [2003]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] sched-2.5.64-bk10-C4

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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.898 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site