* Stephen Frost <[EMAIL PROTECTED]> [050119 06:11]: > * Benjamin Herrenschmidt ([EMAIL PROTECTED]) wrote: > > Hrm... reading more of the patch & Martin's previous work, I'm not sure > > I like the idea too much in the end... The main problem is that you are > > just "replaying" the ticks afterward, which I see as a problem for > > things like sched_clock() which returns the real current time, no ? > > > > I'll toy a bit with my own implementation directly using Martin's work > > and see what kind of improvement I really get on ppc laptops. > > I don't know if this is the same thing, or the same issue, but I've > noticed on my Windows machines that the longer my laptop sleeps the > longer it takes for it to wake back up- my guess is that it's doing > exactly this (replaying ticks). It *really* sucks though because it can > take quite a while for it to come back if it's been asleep for a while.
That sounds like suspend related thing, while this is an idle loop issue. On my machine with PIT timer doing the interrupts, the skip is only 54 ticks, so catching up is very fast :) But if the machine was able to idle for seconds at time inbetween ticks, it would be noticable. Regards, Tony - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/