Scheduler patch 03 available for testing

Matthew Dillon dillon at apollo.backplane.com
Sat Jul 24 12:35:52 PDT 2004


:
:This scheduler improvement has made DragonFly more fun to use. Will work 
:continue on the scheduler?

    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 switch
    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 another
    scheduler.

    Additionally, it should (theoretically) be possible to install multiple
    userland schedulers and have a p_* field in the proc structure point to
    which scheduler to use :-).  Since the userland schedulers are independant
    of LWKT, LWKT doesn't really care.  Of course, the multiple userland
    schedulers would compete for the same cpu :-)... but that's a different
    problem.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Kernel mailing list