lkml.org 
[lkml]   [2002]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: time goes backwards periodically on laptop if booted in low-power mode
Nick Craig-Wood wrote:
>
> On Mon, Feb 18, 2002 at 04:54:23PM -0500, Chris Friesen wrote:
> > Nick Craig-Wood wrote:
> > > I made a patch to fix this (this is its first outing). It stops
> > > do_gettimeofday reporting a time less than it reported last time.
> >
> > I see a minor problem here...what happens if you want to reset your clock (for
> > whatever purpose) to a previous time?
>
> Sorry that was a simplified explanation above.

Ooops, my bad (should've read the patch more closely). Time offsets can't go
backwards if jiffies stays the same. As long as jiffies is changed, then the
patch has no effect. Got it.


--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com
-
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:24    [W:0.076 / U:0.920 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site