[lkml]   [2003]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] O13int for interactivity
At 11:03 PM 8/4/2003 -0700, Andrew Morton wrote:
>Con Kolivas <> wrote:
> >
> > > In short: make the same policy for an interruptible and an
> uninterruptible
> > > sleep.
> >
> > That's the policy that has always existed...
> >
> > Interesting that I have only seen the desired effect and haven't
> noticed any
> > side effect from this change so far. I'll keep experimenting as much as
> > possible (as if I wasn't going to) and see what the testers find as well.
>We do prefer that TASK_UNINTERRUPTIBLE processes are woken promptly so they
>can submit more IO and go back to sleep. Remember that we are artificially
>leaving the disk head idle in the expectation that the task will submit
>more I/O. It's pretty sad if the CPU scheduler leaves the anticipated task
>in the doldrums for five milliseconds.

It's actually (potentially) _much_ more than that isn't it? Wakeups don't
consider the last time a task has run... the awakened task is always placed
at the back of the pack regardless of whether the tasks in front of it have
been receiving heavy doses of cpu and the awakened task has not.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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