In LITMUS, new scheduling policies are implemented as scheduler plugins, which are run in kernelspace. This set of instructions describes how to write a scheduler plugin in LITMUSRT by re-creating the Partitioned-EDF (P-EDF) scheduler.
In order to create new scheduler plugins, you must be capable of building the LITMUSRT kernel from source. If you haven’t already, follow the instructions for building and installing LITMUSRT.
The instructions for implementing a new LITMUSRT scheduler plugin have been separated into 9 steps: