BFS: back out BFS scheduler for stability reasons

It works faster sometimes, other times not.. the code is so old now
This commit is contained in:
Matt Sealey
2012-12-10 20:18:47 -06:00
parent 102933f39b
commit c50431b567
28 changed files with 198 additions and 7401 deletions

View File

@@ -275,10 +275,10 @@ unsigned long trace_flags = TRACE_ITER_PRINT_PARENT | TRACE_ITER_PRINTK |
void trace_wake_up(void)
{
/*
* The grunqueue_is_locked() can fail, but this is the best we
* The runqueue_is_locked() can fail, but this is the best we
* have for now:
*/
if (!(trace_flags & TRACE_ITER_BLOCK) && !grunqueue_is_locked())
if (!(trace_flags & TRACE_ITER_BLOCK) && !runqueue_is_locked())
wake_up(&trace_wait);
}