[lkml]   [2005]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Screwy clock after apm suspend
Bernard Blackham writes:
> Looking harder, in arch/i386/kernel/apm.c the system time is also
> saved and restored in a very similar way to timer_suspend/resume.
> Would this account for the time drift in APM mode? (sleep time being
> accounted for twice?)

No, apm.c's update to xtime is absolute, just like time.c's.
Doing both is pointless but not harmful. (I've already tried
with apm.c's xtime update commented out, but the time-warp
bug remained.)

My 0.02 SEK says it's the jiffies update that's broken.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:09    [W:0.405 / U:1.204 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site