Re: Crazy idle values with 2.4.18-17.7.x

Rik van Riel (riel@conectiva.com.br)
Wed, 30 Oct 2002 23:02:43 -0200 (BRST)


On Wed, 30 Oct 2002, marco wrote:

> Apologies in advance if Red Hat kernels should not be discussed
> here (pointers are appreciated).

> CPU states: 0.1% user, 0.1% system, 99.8% nice, 857278.7% idle

Idle time in the kernel can go backwards (due to a silly calculation)
and this can make the time in top overflow.

I think Red Hat has a patch in their procps rpm to catch this, but
I guess that one only catches negative overflow ;)

regards,

Rik

-- 
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/		http://distro.conectiva.com/
Current spamtrap:  <a href=mailto:"october@surriel.com">october@surriel.com</a>

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