diff options
Diffstat (limited to 'litmus/budget.c')
-rw-r--r-- | litmus/budget.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/litmus/budget.c b/litmus/budget.c index aa254349a85e..f7d690c77226 100644 --- a/litmus/budget.c +++ b/litmus/budget.c | |||
@@ -183,7 +183,8 @@ void sobliv_on_blocked(struct task_struct* t) | |||
183 | * trigger another exhaustion signal since signals are controled by | 183 | * trigger another exhaustion signal since signals are controled by |
184 | * BTF_SIG_BUDGET_SENT. */ | 184 | * BTF_SIG_BUDGET_SENT. */ |
185 | int exhausted = bt_flag_test_and_clear(t, BTF_BUDGET_EXHAUSTED); | 185 | int exhausted = bt_flag_test_and_clear(t, BTF_BUDGET_EXHAUSTED); |
186 | BUG_ON(!exhausted); | 186 | //BUG_ON(!exhausted); |
187 | WARN_ON(!exhausted); | ||
187 | 188 | ||
188 | TRACE_TASK(t, "budget timer not armed. " | 189 | TRACE_TASK(t, "budget timer not armed. " |
189 | "Raced with exhaustion-resched? Re-arming.\n"); | 190 | "Raced with exhaustion-resched? Re-arming.\n"); |
@@ -317,12 +318,6 @@ void sobliv_revaluate_task(struct task_struct* t) | |||
317 | "on Litmus lock without " | 318 | "on Litmus lock without " |
318 | "CONFIG_LITMUS_NESTED_LOCKING enabled.\n"); | 319 | "CONFIG_LITMUS_NESTED_LOCKING enabled.\n"); |
319 | #endif | 320 | #endif |
320 | |||
321 | /* Move a waiter onto a FIFO queue to simulate an unlock call. */ | ||
322 | if (tsk_rt(t)->outermost_lock && | ||
323 | tsk_rt(t)->outermost_lock->ops->is_omlp_family) { | ||
324 | tsk_rt(t)->outermost_lock->ops->omlp_virtual_unlock(tsk_rt(t)->outermost_lock, t); | ||
325 | } | ||
326 | } | 321 | } |
327 | 322 | ||
328 | 323 | ||