Re: [Bugme-new] [Bug 8479] New: gettimeofday returning 1000000 intv_usec on core2duo

From: Andrew Morton
Date: Tue May 15 2007 - 01:09:23 EST


On Mon, 14 May 2007 21:17:47 -0700 bugme-daemon@xxxxxxxxxxxxxxxxxxx wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=8479
>
> Summary: gettimeofday returning 1000000 in tv_usec on core2duo
> Kernel Version: 2.6.21
> Status: NEW
> Severity: normal
> Owner: ak@xxxxxxx
> Submitter: dang@xxxxxxxxxx
>
>
> Most recent kernel where this bug did *NOT* occur: 2.6.20
> Distribution: Gentoo
> Hardware Environment: core2duo T7200 (all reporters had this same CPU)
> Software Environment: Linux 2.6.21, glibc 2.5
> Problem Description:
>
> gettimeofday returns 1 - 1000000 in tv_usec, not 0 - 999999
> This does not happen on any of my AMD-based 32 or 64 bit boxes, only on my
> core2duo; I have 2 other reports of this problem, all on T7200's
>
> Steps to reproduce:
>
> call gettimeofday a lot. Eventually, you'll get 1000000 returned in tv_usec. My
> average is ~1 in 1000000 calls. I've attached my test program, with output from
> various boxes. One of the other reporters tried the test program too, and got
> similar output. .config will be attached too.

err, whoops.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/