lkml.org 
[lkml]   [1998]   [Nov]   [27]   [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 Fri, 27 Nov 1998, Andrea Arcangeli wrote:
>
> The first pending patch is a fix for a bug I discovered last week. The
> patch avoid the idle task to continue to run if an useful process is being
> wakenup. It make a _big_ difference. Compiling the kernel a `xload' show
> that the CPU is used at 100% all the time (5/10% kernel and the other is
> gcc). Without this patch xload is far from doing a straight line in the
> high part of the graph.

Hmm.. The idle tasks _should_ have a negative counter value all the time,
at least they used to. That's the proper fix, to make sure that the
counter value is never positive in the first place.

I wonder when that broke?

Linus


-
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-2011 Jasper Spaans