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.