Re: Q: "kapm-idled" and CPU usage

Rik van Riel (riel@conectiva.com.br)
Sun, 18 Mar 2001 19:03:28 -0300 (BRST)


On Sun, 18 Mar 2001, Jeff Garzik wrote:

> Is there some way to hack the scheduler statistics so that idle
> processes are special cases, which do not accumulate CPU time nor
> contribute to the load average?

It's trivial. I remember seeing a patch that does exactly this
on linux-kernel, probably around the time kapmd was renamed.

regards,

Rik

--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com.br/

- 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/