To: Pallipadi, Venkatesh <venkatesh.pallipadi@...>
Cc: Dave Jones <davej@...>, Andi Kleen <andi@...>, Alan Stern <stern@...>, LKML <linux-kernel@...>, Adam Belay <abelay@...>, Lee Revell <rlrevell@...>, <linux-pm@...>, Pavel Machek <pavel@...>
On Tue, 4 Mar 2008 07:14:23 +0100
Pierre Ossman <drzeus-list@drzeus.cx> wrote:
Hold off on this. It turns out it still has major problems. The menu algorithm now and then gets really bad at predicting sleep times, completely killing this avoidance scheme.
(On that subject, does anyone except Adam understand that algorithm? Some comments wouldn't hurt...)
So for now, I'm back to thinking that measuring the interval between deep sleeps is the better approach. I could use some ideas for a good clock source though. I haven't dug much deeper than jiffies when it comes to kernel timekeeping.
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
--