Re: kapm-idled no longer idling CPU?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Nov 30 2001 - 08:23:12 EST


> system_idle itself just checks, if nr_running is 1. This means that if any
> single other process is runnable every HZ time when apm_idled checks the system
> state it won't switch to idle state even if the system is otherwise idle. I do
> see this behaviour e.g. all the time with KDE.

Uggh - yes, that makes horrible sense. Does it behave any better if you
check say load average for the past 15 seconds < .1 ?
-
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/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:39 EST