lkml.org 
[lkml]   [1999]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] new scheduler

On Tue, 11 May 1999, Andrea Arcangeli wrote:

> >On Mon, 10 May 1999, Rik van Riel wrote:
> >
> >> that need to be done (now that the scheduling seems to
> >> be good enough in 2.2.8, with only a superfluous
> >> reschedule_idle() in schedule_tail()).
> >
> >why do you think it is superfluous?
>
> The reschedule_idle() in schedule_tail is there only to handle the case
> where the `prev' task is been rescheduled due a reschedule_idle()
> call (##).
>
> But if it's been rescheduled due a reschedule_idle() it means that:
>
> 1) there are no idle cpu in the system
> 2) the prev task was in general the less priority one

wrong. We actively _preempt_ processes on other CPUs, this means that a
preempted process has all rights to try to replace even lesser priority
processes on other CPUs. Your problem might be that you are thinking in
terms of dual-CPU boxes, i'm using a quad one. (btw, even on a dual box it
is possible to 'push' a process to another CPU, although it's not the
common case)

-- mingo


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

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