Kernel release status
Posted Feb 20, 2003 22:50 UTC (Thu) by
Ross (subscriber, #4065)
In reply to:
Kernel release status by zooko
Parent article:
Kernel release status
I think you are confused.
gettimeofday() should be strictly monotonic.
There have been bugs in the past with the kernel TSC implementation,
with SMP syncronization, etc.
The fact the system time is in UTC is one of the better design decisions in Unix. See Windows for a painful lesson in reimplemnting something incorrectly.
Some examples:
I am on the east coast and mount a filesystem from the west coast. The timestamps on files I create will be wrong on the west coast and all the current files will be wrong for me.
A user logs into my system from another timezone. They have no option see the time or file timestamps with their localtime. Actually they do, but now I also see them in their timezone.
Daylight saving comes and goes, but your computer wasn't on. Now it boots up. To tell if it should change the time it has to look at a registry entry.
I have a laptop and travel. I use a floppy disk in a system locally then put it in the laptop. The creation timestamp says 1:00 (PM). When was it created?
(
Log in to post comments)