Re: [patch] idle_task was wasting a lot of CPU

Andrea Arcangeli (andrea@e-mind.com)
Fri, 27 Nov 1998 18:43:40 +0100 (CET)


On Fri, 27 Nov 1998, Matthew Kirkwood wrote:

>> - if (p->policy != SCHED_OTHER || p->counter > current->counter + 3)
>
>> + if (/* idle_task == current || */ p->counter >= current->counter ||
>> + p->policy != SCHED_OTHER)
>
>Do you mean the have that comparison commented out?

To only fix the bug you can comment out and return to check for
current->counter + 3.

Andrea Arcangeli

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