aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/sched_mc.h
Commit message (Collapse)AuthorAge
* Removed ARM-specific hacks which disabled less common mixed-criticality ↵wip-mcJonathan Herman2013-03-30
| | | | features.
* hacks to get the kernel to run on the odroidxChristopher Kenna2012-10-19
| | | | Signed-off-by: Christopher Kenna <cjk@cs.unc.edu>
* Fixed sched_trace records for state transitions.Jonathan Herman2012-10-15
| | | | This commit is dirty and will be cleaned up when blocking states are tested.
* Switched to common server model for tasks and crit entries.Jonathan Herman2012-10-15
|
* Allow for concurrent blocking / user-space job completions.Jonathan Herman2012-10-10
|
* A task's blocking time no longer takes from its server's budget.Jonathan Herman2012-10-09
|
* Integrated group locking with mixed-criticality.Jonathan Herman2012-10-06
|
* Moved user-space state of tasks into new rt_param.user_job.Jonathan Herman2012-10-03
| | | | | | Both sched_color and sched_mc assumed seperate kernel and userspace views of job states, where the kernel view is used for scheduling while the userspace view is used for statistics (tardiness etc). This commit merges both approaches.
* Fixed sched_color run issues.Jonathan Herman2012-09-30
|
* revert the cpu mask changesChristopher Kenna2011-10-14
|
* Freeing a cpu for ftracingJonathan Herman2011-10-13
|
* Added task level to recordsJonathan Herman2011-10-11
|
* Allow scheduler to 'logically' remove crit_entry's from level-C heap.Jonathan Herman2011-10-08
| | | | | This required fixes to hrtimer_start_on code so that events can be cancelled or re-armed while an hrtimer pull is in progress.
* Fixed timer issue and atomic remove issue in level A domain.Jonathan Herman2011-10-08
| | | | | | | | | | | Timers had an issue where they couldn't be cancelled before they migrated. Now when you set the start_on_info to inactive, it will prevent a timer from being armed. When a task is being blocked and preempted concurrently, the blocking code needs to be able to prevent the task from being scheduled on another CPU. This did not work for CE domains. Added a per-domain remove function which, for ce domains, will prevent a task from being returned by the domain.
* Newline consistency...Jonathan Herman2011-10-07
|
* Refactor timer merging and add it to CE plugin.Christopher Kenna2011-09-30
| | | | | | | | | | | | | | | | THIS CODE IS UNTESTED We now initialize one event group for each cpu on system start. We can get the event group for a CPU via a function in event_group.c Another change is that an event now stores what group it is in when it add_event() is called on it. This lets us cancel it without knowing what event group it is in. The above is important because Level-C events (like releases) have a NULL event group. When calling add_event(), it will get the event group of the current CPU. If the event needs to be canceled later, we need that saved group in the event so we know where to remove it from.
* Merged with ce domainsJonathan Herman2011-09-27
|\
| * Checkpoint commit. Testing begins.Christopher Kenna2011-09-26
| |
| * Untested merge of CE and MC pluginsChristopher Kenna2011-09-25
| |
* | Timer mergingJonathan Herman2011-09-27
|/
* Check point commit for merging CE with MC plugin.Christopher Kenna2011-09-24
| | | | | Also started to fix typos in Jonathan's code, but there were too many after I realized that event_group.o was not in the LITMUS Makefile.
* Change the way jobs are tracked in the CE.Christopher Kenna2011-09-22
| | | | | | | | | The new code tracks CE jobs so that we can detect if a CE task falls behind due to jobs overrunning their budgets. There are also various bug fixes related to timers. We may not want to arm timers until the task release, as well.
* Merge branch 'wip-mc' of ↵Jonathan Herman2011-09-21
|\ | | | | | | ssh://cvs.cs.unc.edu/cvs/proj/litmus/repo/litmus2010 into wip-mc
| * Passes simple tests.Christopher Kenna2011-09-21
| |
* | Now with fine grained lockingJonathan Herman2011-09-21
|/
* Merge branch 'wip-mc' of ↵Jonathan Herman2011-09-07
|\ | | | | | | ssh://cvs.cs.unc.edu/cvs/proj/litmus/repo/litmus2010 into wip-mc
| * Partial cyclic executive plugin.Christopher Kenna2011-09-05
| | | | | | | | | | This is not tested and missing everything for /proc. I just am checking it in so that it the code is backed up in a git repository.
* | Refactor to allow generic domainsJonathan Herman2011-09-07
|/
* created generic domain interface for tasksJonathan Herman2011-08-29
|
* Refactor the mixed-criticality (MC) plugin.Christopher Kenna2011-08-27
Add linux kernel configuration option CONFIG_LITMUS_MC. Attempt to restore rt_param.h to its original state as much as possible. Remove fields from rt_task and rt_job and move them into a new mc_data struct. Added mc_data field to rt_param compiled in only if using MC plugin. Make a new MC plugin specific header that contains a mc_data struct, which is a container for mc_task struct and a mc_job struct. Update sched_mc.c to use the new data structures. Also, add some macros that simplify the code, e.g., getting task criticality quickly. Add system call to set MC plugin specific stuff. Check for the change in liblitmus. Add a few lines to exit_litmus to reclaim the MC plugin mc_data struct in the task_struct on task exit.