DragonFly kernel List (threaded) for 2004-07
Re: Scheduler patch 03 available for testing
This may be off topic but could we use something like this:
"Bossa, a framework for scheduler development"
"Matthew Dillon" <dillon@xxxxxxxxxxxxxxxxxxxx> wrote in message
> At some point we need to make the userland scheduler 'loadable', kinda
> like FreeBSD-5 except to do it right we also need the ability to
> schedulers on the fly (which is actually not too hard to do) rather
> then only at boot.
> This will require formalizing API hooks between the userland scheduler
> and LWKT, and adding hooks to 'record' processes for transfer to
> Additionally, it should (theoretically) be possible to install
> userland schedulers and have a p_* field in the proc structure point
> which scheduler to use :-). Since the userland schedulers are
> of LWKT, LWKT doesn't really care. Of course, the multiple userland
> schedulers would compete for the same cpu :-)... but that's a