[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-kern
Subject:    Re: Scheduler project status and further discussion
From:       Daniel Sieger <dsieger () TechFak ! Uni-Bielefeld ! DE>
Date:       2007-01-19 18:53:17
Message-ID: 20070119185316.GA811 () antipasto ! TechFak ! Uni-Bielefeld ! DE
[Download RAW message or body]


On Thu, Jan 18, 2007 at 08:46:33PM +0000, David Laight wrote:
[snip]
> All true, but at some point you have to some code that actually runs the
> process.  This needs (AFAICT) some sort of global queue of runnable processes
> by priority - common to all schedulers.

Can you give a concrete example? As far as I can see, there is
absolutely no need to expose runqueues to the rest of the kernel, as
long as sched_enqueue() and sched_dequeue() are provided by the
scheduler implementation.

Regards,
Daniel

-- 
Daniel Sieger
Faculty of Technology
Bielefeld University
wwwhomes.uni-bielefeld.de/dsieger

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic