aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_global_plugin.c
Commit message (Collapse)AuthorAge
* Implementation of the EDZL scheduler.wip-edzl-finalGlenn Elliott2011-01-28
| | | | | | Implementation of the EDZL scheduler. Zero-laxity points are tracked by timers while jobs are in the pending state. Locking primatives are not supported.
* Generalizd architecture for GEDF-style scheduelrs to reduce code redundancy.wip-refactored-gedfGlenn Elliott2011-01-28
This patch hoists nearly all of the non-GEDF specific code (decision making (GEDF) vs. carrying out decisions (non-specific)) out of sched_gsn_edf.c and into a new generic sched_global_plugin architecture. A new struct, sched_global_plugin, provides the needed hooks for other GEDF-style schedulers to reuse the non-scheduler-specific code. You may conceptualize this new architecture (in OO-terms) as: * sched_plugin is the parent of sched_global_plugin. * sched_global_plugin is the parent of gsn_edf_plugin. * Both sched_plugin and sched_global_plugin are "pure virtual" This patch drastically reduces the amount of code needed to support G-EDF, EDZL, (Adaptive) EDZL, etc.