Messages in this thread | | | Date | Mon, 10 Jan 2005 15:44:22 +0800 | From | bernard@blackham ... | Subject | Re: Screwy clock after apm suspend |
| |
On Sun, Jan 09, 2005 at 11:28:53PM -0800, Shaw wrote: > On Sunday 09 January 2005 02:47 pm, Pavel Machek wrote: > > Probably code to compensate clock after ACPI suspend breaks apm case > > > > arch/i386/kernel/time.c, can you comment out > > jiffies += sleep_length * HZ; > > > > in timer_resume to see if it goes away? > > Worked like a charm. I'm not seeing any time drift after your suggested > change.
AIUI, this also means that a machine's uptime does not include time whilst suspended. This was the behaviour prior to 2.6.10 and seems to be more desirable as it counts the time the machine is actually running, not just time since boot. Is there a good reason why we can't go back to this?
Bernard.
- 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/
| |