RE: sys_settimeofday()

David Mosberger (davidm@hpl.hp.com)
Tue, 7 Dec 1999 17:15:26 -0800


>>>>> On Tue, 7 Dec 1999 12:16:56 -0800, "David Schwartz" <davids@webmaster.com> said:

David.Schwartz> Because you usually try to keep the system
David.Schwartz> time as close to the right time as
David.Schwartz> possible. Whereas, for the RTC, you'd probably
David.Schwartz> rather set it very infrequently so you can measure
David.Schwartz> its drift accurately so you can estimate how far it
David.Schwartz> is off on boot up.

That's a good point. We certainly don't want to always keep the
kernel time in sync with the firmware time which means that,
logically, there unavoidably will be two different times. Given this,
it's better to keep those two times separate and provide explicit
interfaces to control them individually.

Thanks,

--david

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