aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/rt_param.h
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-01-28 19:04:08 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-01 16:30:41 -0500
commite593c9dbe858c82e284ff85e625837ae3ab32f1c (patch)
treeef1b5a608545ddf276517b85f57999c925242627 /include/litmus/rt_param.h
parentfc6482bb7a6a638474565c90159997bd59069297 (diff)
EDF: support priority boosting
While we are at it, simplify edf_higher_prio() a bit.
Diffstat (limited to 'include/litmus/rt_param.h')
-rw-r--r--include/litmus/rt_param.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h
index a7a183f34a80..5de422c742f6 100644
--- a/include/litmus/rt_param.h
+++ b/include/litmus/rt_param.h
@@ -108,6 +108,13 @@ struct rt_param {
108 /* is the task present? (true if it can be scheduled) */ 108 /* is the task present? (true if it can be scheduled) */
109 unsigned int present:1; 109 unsigned int present:1;
110 110
111#ifdef CONFIG_LITMUS_LOCKING
112 /* Is the task being priority-boosted by a locking protocol? */
113 unsigned int priority_boosted:1;
114 /* If so, when did this start? */
115 lt_t boost_start_time;
116#endif
117
111 /* user controlled parameters */ 118 /* user controlled parameters */
112 struct rt_task task_params; 119 struct rt_task task_params;
113 120