lkml.org 
[lkml]   [2003]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [pm] fix time after suspend-to-*
Pavel Machek wrote:
> 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.
>

Ok, but then is there some sort of house cleaning that happens to clean up the
mess? I am thinking something like the run level change where scripts might run
to "fix" things.

Now it could be that my ignorance is showing here, possibly this is all being
done already...

--
George Anzinger george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.074 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site