Messages in this thread | | | From | anton wilson <> | Subject | Re: garbage returned from do_gettimeofday | Date | Thu, 19 Sep 2002 11:53:19 -0400 |
| |
On Wednesday 18 September 2002 07:00 pm, anton wilson wrote: > I'm using do_gettimeofday in the scheduler, once per schedule. > Ocassioanlly, i'll get what seems to be a random garbage number. > For example: > > tv_sec tv_usec > 1032378775 627501 > 1032378775 627521 > 3433001412 1 > 1032378775 627573 > 1032378775 627617 > 1032378775 627638 > > or > > 1032379233 253008 > 1032379233 253028 > 3387638236 1 > 1032379233 253068 > 1032379233 253125 > > > The garbage number tv_sec always seems to begin with a 3 and is followed by > 9 digits. The tv_usec garbage number is always 1. >
Even more stangely, I'll get a sequence of the same garbage time from do_gettimeofday, interleaved with good values:
tv_sec tv_usec jiffies
1032450154 41056 -- 108690] 1032450154 42045 -- 108690] 1032450154 42056 -- 108690] 1032450154 43045 -- 108690] 1032450154 43056 -- 108690]
/*garbage starts here*/ 3390722356 1 -- 108690] 1032450154 43090 -- 108690] 3390722356 1 -- 108690] 1032450154 43177 -- 108690] 3390722356 1 -- 108690] 1032450154 43204 -- 108690] 3390722356 1 -- 108690] 1032450154 43257 -- 108690] 3390722356 1 -- 108690] 1032450154 43287 -- 108690] 3390722356 1 -- 108690] /*garbage values stop for now*/ 1032450154 44064 -- 108690]
1032450154 44084 -- 108690] 1032450154 44212 -- 108690] 1032450154 45047 -- 108690] 1032450154 45059 -- 108690] 1032450154 46045 -- 108690]
I'm using 2.4.19 with rc2, low-latency, premptive, O(1), and kdb patches.
Anton - 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/
| |