Marcus Spangenberg wrote:
I heard from somewhere that it is possible to write and add a custom process
scheduler to the Solaris kernel without having to recompile the whole kernel. I
am going to run simulations with different modified schedulers in a full system
simulator and not having to recompile the kernel would greatly improve the
speed of things.
Does anybody know if this is true or not and, if it is, where to find some
documentation about this feature?
Another thing to consider, the _fini() entry points in the existing
modules all return EBUSY, which means that while the classes are
dynamically loadable, they are also unloadable. :) That's not to say
that you're scheduling class can't be, but you'll want to take the right
precautions to ensure that unloading the class is "safe" (like ensuring
no threads are in your class, etc).
Please keep us posted, as this is all very interesting. :)
Thanks,
-Eric
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code