diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-10-10 22:13:30 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-10-10 22:13:30 -0400 |
commit | fbbd0ae9f4589d35265a9b85e5b2e4614b432525 (patch) | |
tree | 403a66093be20cedb8351b7af065f2e5f883661f /litmus/rt_domain.c | |
parent | 0a84a160ea79d9479d17b02b5332413159f52be2 (diff) |
Allow for concurrent blocking / user-space job completions.
Diffstat (limited to 'litmus/rt_domain.c')
-rw-r--r-- | litmus/rt_domain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/litmus/rt_domain.c b/litmus/rt_domain.c index 687dc129bc2a..6e6a1236bb25 100644 --- a/litmus/rt_domain.c +++ b/litmus/rt_domain.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #define TRACE(fmt, args...) STRACE(fmt, ## args) | 25 | #define TRACE(fmt, args...) STRACE(fmt, ## args) |
26 | 26 | ||
27 | /* Uncomment when debugging timer races... */ | 27 | /* Uncomment when debugging timer races... */ |
28 | #if 0 | 28 | #if 1 |
29 | #define VTRACE_TASK TRACE_TASK | 29 | #define VTRACE_TASK TRACE_TASK |
30 | #define VTRACE TRACE | 30 | #define VTRACE TRACE |
31 | #else | 31 | #else |
@@ -440,6 +440,7 @@ static void pd_requeue(domain_t *dom, struct task_struct *task) | |||
440 | task->comm, task->pid, get_exec_cost(task), get_rt_period(task), | 440 | task->comm, task->pid, get_exec_cost(task), get_rt_period(task), |
441 | get_release(task), litmus_clock()); | 441 | get_release(task), litmus_clock()); |
442 | } else { | 442 | } else { |
443 | tsk_rt(task)->flags = RT_F_RUNNING; | ||
443 | /* task has to wait for next release */ | 444 | /* task has to wait for next release */ |
444 | VTRACE_TASK(task, "add release(), rel=%llu\n", get_release(task)); | 445 | VTRACE_TASK(task, "add release(), rel=%llu\n", get_release(task)); |
445 | add_release(domain, task); | 446 | add_release(domain, task); |