micke writes:
> Is it possible Possible to ad a new scheduler to the OpenSolaris kernel?

Yes.  It's modular.  Existing ones are real-time, time-sharing,
interactive, fair-share, and fixed-priority.  These are installed on
the system under /usr/kernel/sched.

> Anyone got some pointers to where I can get information?
> Im in need of implementing the POSIX SCHED_SPORADIC scheduler under Solaris.

Take a look in $SRC/uts/common/disp/ for example schedulers, and the
'struct modlsched' and 'struct class' for the linkage.

Beware: this isn't a published or stable interface.  If you're
intending to integrate into OpenSolaris via the ON consolidation,
you're on good ground.  If you're shipping separately, though, or via
some other consolidation, you should know that the interfaces involved
may change without warning and break your software.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to