On 05/08/2012 09:23 AM, Jonas Flodin wrote:
Hi! I'm a PhD student who is currently doing research on multicore real-time scheduling. I'm considering using Xenomai as a base for my research experiments, but this would require me to replace or extend the current scheduler. So far I have found no documents detailing how the scheduler is implemented or how to extend it (if possible). Could you point me to information regarding the scheduler?
There is no documentation on the scheduling core. You should probably start with ksrc/nucleus/sched*.c, and include/nucleus/sched*.h, having a look at the files implementing the plain FIFO policy in sched-rt*.
Hint: the scheduling core is meant to be extensible, adding a new policy entails providing an implementation for a new struct xnsched_class object. Make sure to read the comments in the files implementing the existing policies (-rt, -sporadic, -tp), they usually mention details on the calling context and requirements for the handlers defined by the xnsched_class type.
Thank you in advance. BR Jonas Flodin _______________________________________________ Xenomai-core mailing list Xenomaifirstname.lastname@example.org https://mail.gna.org/listinfo/xenomai-core
-- Philippe. _______________________________________________ Xenomai-core mailing list Xenomaiemail@example.com https://mail.gna.org/listinfo/xenomai-core