lkml.org 
[lkml]   [2008]   [Mar]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 5 Mar 2008 07:04:54 +0100
FromPierre Ossman <>
SubjectRe: [linux-pm] [PATCH] cpuidle: avoid singing capacitors
On Tue, 4 Mar 2008 19:34:06 +0100
Andi Kleen <andi@firstfloor.org> 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


\
 
 \ /
  Last update: 2008-03-05 07:09    [from the cache]
©2003-2008