2010/5/26 Peter Zijlstra <pet...@infradead.org>: > On Wed, 2010-05-26 at 03:06 -0700, Arve Hjønnevåg wrote: > >> I was not talking about our user-space code. Suspend has to be called >> by a running thread, so at least one runqueue is not empty. > > But why would you need to suspend if the machine is fully idle? >
I have never seen a system that is fully idle for hours or even minutes. > Is it because you're using broken hardware that has lower power > consumption in suspend state as in idle? > Initially, yes, but for shipping android phones, no. > Couldn't you make the runtime-pm smarter and utilize the suspend states? > I don't think runtime-pm is relevant here. We don't use suspend to power down devices that are not in use, we use suspend to enter system power states that we cannot enter from idle, and on systems where the same power state can be used from idle and suspend, we use suspend so we can stay in the low power state for minutes to hours instead of milliseconds to seconds. -- Arve Hjønnevåg -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html