Re: scheduler

From: Brian J. Watson (Brian.J.Watson@compaq.com)
Date: Thu Oct 26 2000 - 22:03:07 EST


Anonymous wrote:
>
> In redhat where is the process scheduler located? Does this scheduler
> implement round robin?

It doesn't matter whether it's RedHat, or any other distribution.
They're all the same kernel.

Look at schedule() in kernel/sched.c to see the heart of the scheduler.
My understanding is that it's a weighted round robiner, considering such
things as the nice value and how often a process gets caught "holding
the ball" by the clock interrupt.

Hope this helps.

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



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:20 EST