diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2013-03-13 14:41:03 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2013-03-13 14:57:09 -0400 |
commit | a51fba95554e70bd74308c13cf804102a99973b3 (patch) | |
tree | 189167694d7ce6bbea486b83335b3e9cfbb843fe /litmus/litmus_softirq.c | |
parent | 5a2819df472ccbd2915fa0d50d7ce04b97b0849b (diff) | |
parent | f4ffe0719dfc150ee182f308d31a226b034f206b (diff) |
Merge branch 'gh/staging' into temp
Conflicts:
include/litmus/litmus.h
include/litmus/rt_param.h
litmus/Makefile
litmus/sched_cedf.c
litmus/sched_gsn_edf.c
Diffstat (limited to 'litmus/litmus_softirq.c')
-rw-r--r-- | litmus/litmus_softirq.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/litmus/litmus_softirq.c b/litmus/litmus_softirq.c index aa83b363be7c..6ecea650673b 100644 --- a/litmus/litmus_softirq.c +++ b/litmus/litmus_softirq.c | |||
@@ -263,14 +263,17 @@ static int become_litmus_daemon(struct task_struct* tsk) | |||
263 | int ret = 0; | 263 | int ret = 0; |
264 | 264 | ||
265 | struct rt_task tp = { | 265 | struct rt_task tp = { |
266 | .exec_cost = KLMIRQD_SLICE_NS, | ||
266 | .period = KLMIRQD_SLICE_NS, | 267 | .period = KLMIRQD_SLICE_NS, |
267 | .relative_deadline = KLMIRQD_SLICE_NS, | 268 | .relative_deadline = KLMIRQD_SLICE_NS, |
268 | .exec_cost = KLMIRQD_SLICE_NS, | ||
269 | .phase = 0, | 269 | .phase = 0, |
270 | .cpu = task_cpu(current), | 270 | .cpu = task_cpu(current), |
271 | .priority = LITMUS_LOWEST_PRIORITY, | ||
272 | .cls = RT_CLASS_BEST_EFFORT, | ||
271 | .budget_policy = NO_ENFORCEMENT, | 273 | .budget_policy = NO_ENFORCEMENT, |
272 | .budget_signal_policy = NO_SIGNALS, | 274 | .budget_signal_policy = NO_SIGNALS, |
273 | .cls = RT_CLASS_BEST_EFFORT | 275 | /* use SPORADIC instead of EARLY since util = 1.0 */ |
276 | .release_policy = SPORADIC, | ||
274 | }; | 277 | }; |
275 | 278 | ||
276 | struct sched_param param = { .sched_priority = 0}; | 279 | struct sched_param param = { .sched_priority = 0}; |