Re: [pm] fix time after suspend-to-*

From: Pavel Machek
Date: Fri Oct 24 2003 - 02:49:41 EST


Hi!

> The request can be on the wall clock or on clock_monotonic. Still, we went
> round and round about how a tick on one should be a tick on the other. My
> understanding is that the pm_timer was put in the ACPIC to handle this, but
> then I don't know how far down power is going, nor for how long. I would
> think at some point the discontinuity would be large enough that one would
> want some user service to run and "fix" all the broken time assumptions.
> Some sort of a soft reboot that would kick the ntp code, cron and so on,
> much as is done at boot.

Well, it is well possible that discontinuity is days (it usually is 8
hours for me -- I suspend-to-disk before going to sleep), and nothing
prevents you from suspending machine for half a year.

Pavel

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
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/