lkml.org 
[lkml]   [2003]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] sched-2.6.0-test1-G3

On Sat, 26 Jul 2003, Con Kolivas wrote:

> With this section of your patch:
>
> + if (!(p->time_slice % TIMESLICE_GRANULARITY) &&
>
> that would requeue active tasks a variable duration into their running
> time dependent on their task timeslice rather than every 50ms. Shouldn't
> it be:
>
> + if (!((task_timeslice(p) - p->time_slice) % TIMESLICE_GRANULARITY) &&
>
> to ensure it is TIMESLICE_GRANULARITY into the timeslice of a process?

yeah, agreed.

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:47    [W:0.122 / U:0.476 seconds]
©2003-2014 Jasper Spaans. hosted at Digital Ocean