lkml.org 
[lkml]   [1998]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateFri, 27 Nov 1998 18:43:40 +0100 (CET)
FromAndrea Arcangeli <>
SubjectRe: [patch] idle_task was wasting a lot of CPU
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2010