Messages in this thread | | | Subject | Re: kapm-idled no longer idling CPU? | Date | Fri, 30 Nov 2001 13:23:12 +0000 (GMT) | From | Alan Cox <> |
| |
> 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/
| |