From: anton wilson <anton.wilson@camotion.com>
To: linux-kernel@vger.kernel.org
Subject: Re: garbage returned from do_gettimeofday
Date: Thu, 19 Sep 2002 11:53:19 -0400 [thread overview]
Message-ID: <200209191602.MAA30225@nealtech.net> (raw)
In-Reply-To: <200209182310.TAA18081@nealtech.net>
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
next prev parent reply other threads:[~2002-09-19 15:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-18 23:00 garbage returned from do_gettimeofday anton wilson
2002-09-19 15:53 ` anton wilson [this message]
2002-09-19 22:34 ` anton wilson
2002-09-20 16:43 ` george anzinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200209191602.MAA30225@nealtech.net \
--to=anton.wilson@camotion.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox