Re: BFS 420: add sched_info_dequeued

From: Hillf Danton
Date: Tue May 22 2012 - 08:48:44 EST


Corresponding to sched_info_queued when tasks are enqueued, sched_info_dequeued
is added when task is dequeued, just for fair play.

--- a/kernel/sched/bfs.c Mon May 14 20:50:38 2012
+++ b/kernel/sched/bfs.c Tue May 22 20:01:36 2012
@@ -3087,6 +3087,7 @@ task_struct *earliest_deadline_task(stru

out_take:
take_task(cpu, edt);
+ sched_info_dequeued(edt);
return edt;
}

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/