diff options
author | Christopher Kenna <cjk@cs.unc.edu> | 2011-08-27 17:48:58 -0400 |
---|---|---|
committer | Christopher Kenna <cjk@cs.unc.edu> | 2011-08-27 17:48:58 -0400 |
commit | 1c5cda5df118735a0e84fd3277d933f58ea814c8 (patch) | |
tree | 07a21bb5d91803651cd88667afe968db80bf2634 /litmus/Kconfig | |
parent | 0e059210db4aef3ed1cff173652c23f257ccfa20 (diff) |
Refactor the mixed-criticality (MC) plugin.
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.
Diffstat (limited to 'litmus/Kconfig')
-rw-r--r-- | litmus/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/litmus/Kconfig b/litmus/Kconfig index ad8dc8308cf0..9a1cc2436580 100644 --- a/litmus/Kconfig +++ b/litmus/Kconfig | |||
@@ -23,6 +23,15 @@ config PLUGIN_PFAIR | |||
23 | 23 | ||
24 | If unsure, say Yes. | 24 | If unsure, say Yes. |
25 | 25 | ||
26 | config PLUGIN_MC | ||
27 | bool "Mixed Criticality Scheduler" | ||
28 | depends on X86 && SYSFS | ||
29 | default y | ||
30 | help | ||
31 | Included the mixed criticality scheduler. | ||
32 | |||
33 | If unsure, say Yes. | ||
34 | |||
26 | config RELEASE_MASTER | 35 | config RELEASE_MASTER |
27 | bool "Release-master Support" | 36 | bool "Release-master Support" |
28 | depends on ARCH_HAS_SEND_PULL_TIMERS | 37 | depends on ARCH_HAS_SEND_PULL_TIMERS |