Re: kapm-idled no longer idling CPU?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 30 Nov 2001 11:50:08 +0000 (GMT)


> application that uses more than very minor system resources is running,
> (i.e. mozilla, netscape, xemacs, apache, Tomcat, just to name a few
> common ones I've seen this behaviour with) kapm-idled no longer receives
> scheduling time from what I can tell and I assume that means my CPU is
> never getting idled when nothing is scheduled.

kapm_idled will get scheduling time when there is nothing else to run,
whether it wants it or is using it is more of the question.

> reporting its time incorrectly since my laptop has gone from about 2-1/2
> hours of battery life in early 2.4 versions to less than 1 hour of
> battery life under the same conditions for recent kernels. Plus, if I

Stick some printk calls in so you can see a count of when the thread runs
and also see when it decides to ask the BIOS to do idling (and also what
then occurs).

I fixed one case recently where we would spin calling the bios all the time
when instead of pausing the bios replied that it had slowed down the
processor. That however was post 2.4.9 so I dont think its related.

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