2010/8/3 Olivier Galibert <galibert@xxxxxxxxx>: > On Tue, Aug 03, 2010 at 08:39:22PM -0700, Arve Hjønnevåg wrote: >> If you just program the alarm you will wake up see that the monotonic >> clock has not advanced and set the alarm another n seconds into the >> future. Or are proposing that suspend should be changed to keep the >> monotonic clock running? > > You're supposed to fix the clock after you wake up. That's part of > the cost of going suspend. I'm not sure what you are referring to. The generic Linux timekeeping code makes sure the monotonic clock stops while the system is suspended regardless of what values the (hardware specific) clocksource returns. -- Arve Hjønnevåg _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm