lkml.org 
[lkml]   [1998]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] idle_task was wasting a lot of CPU
On Tue, 1 Dec 1998, Andrea Arcangeli wrote:
> On Mon, 30 Nov 1998, Rik van Riel wrote:
>
> >IMHO a separate test for the idle task will be better.
>
> Rik, the timer irq will play only with process with pid != 0. I can'
> t see your point for continuing to check for current == idle_task
> even if the counter of the idle taks is -4.

Ahh, I overlooked that one. Thanks...

I do propose a smaller value (-100) however, so we can build in
penalties for processor switching and stuff in reschedule_idle().

cheers,

Rik -- now completely used to dvorak kbd layout...
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+


-
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    [W:0.054 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site