Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors

From: Pierre Ossman
Date: Wed Mar 05 2008 - 01:06:32 EST


On Tue, 4 Mar 2008 19:34:06 +0100
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> On Tue, Mar 04, 2008 at 07:04:46PM +0100, Pierre Ossman wrote:
> >
> > I don't think I quite see the point. If we can't force an update, then
> > it doesn't really help us knowing if the jiffies value is stale or not.
>
> What do you mean with force an update? The system always does an
> jiffies update automatically after idle wakeup. It's just that if you add
> code to the code path that uses jiffies you have to make sure it is after the
> standard update, otherwise you'll see a stale value.
>

I still don't follow. Perhaps you can express it in pseudo code? If I have a stale value that I cannot refresh, knowing that it is stale doesn't change anything.


--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/