aboutsummaryrefslogtreecommitdiffstats
path: root/litmus
diff options
context:
space:
mode:
Diffstat (limited to 'litmus')
-rw-r--r--litmus/sched_mc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/litmus/sched_mc.c b/litmus/sched_mc.c
index a36bb069ba40..85a4e6342667 100644
--- a/litmus/sched_mc.c
+++ b/litmus/sched_mc.c
@@ -254,10 +254,7 @@ static rt_domain_t* domain_of(struct task_struct* task)
254 } 254 }
255} 255}
256 256
257/* Uncomment this if you want to see all scheduling decisions in the
258 * TRACE() log.
259#define WANT_ALL_SCHED_EVENTS 257#define WANT_ALL_SCHED_EVENTS
260 */
261 258
262/* Called by update_cpu_position and lowest_prio_cpu in bheap operations 259/* Called by update_cpu_position and lowest_prio_cpu in bheap operations
263 * Callers always have global lock 260 * Callers always have global lock
@@ -1035,6 +1032,8 @@ static struct task_struct* mc_schedule(struct task_struct * prev)
1035 if (exists) 1032 if (exists)
1036 next = prev; 1033 next = prev;
1037 1034
1035 sched_state_task_picked();
1036
1038 /*TODO: Update name of locking, reflect that we're locking all queues*/ 1037 /*TODO: Update name of locking, reflect that we're locking all queues*/
1039 raw_spin_unlock(&global_lock); 1038 raw_spin_unlock(&global_lock);
1040 1039