All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Larson <plars@linuxtestproject.org>
To: lkml <linux-kernel@vger.kernel.org>
Subject: LTP - gettimeofday02 FAIL
Date: 12 Nov 2002 16:11:14 -0600	[thread overview]
Message-ID: <1037139074.10626.37.camel@plars> (raw)

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

I've been getting a somewhat random error in a few of the recent 2.5
kernels with SMP machines.  I noticed this on a 2.5.47 bk pull, but I
was also able to reproduce it on 2.5.46.  I haven't tried any earlier
kernels yet.  The LTP gettimeofday02 test sometimes fails with this
message:
gettimeofday02    0  INFO  :  checking if gettimeofday is monotonous,
takes 30s
gettimeofday02    1  FAIL  :  Time is going backwards (old
1037138184.846333 vs new 1037138184.843346!

I have not been able to reproduce this on a single processor machine
though.

Basically, all the test does is:
gettimeofday(&tv1, NULL);
while(!done) {
	gettimeofday(&tv2, NULL);
	FAIL if tv2 < tv1
	tv1 = tv2;
}

Any ideas on what could be causing this?

Thanks,
Paul Larson

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 240 bytes --]

             reply	other threads:[~2002-11-12 22:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-12 22:11 Paul Larson [this message]
2002-11-14 21:52 ` LTP - gettimeofday02 FAIL Chris Wedgwood
2002-11-18 17:34   ` Paul Larson
2002-11-18 21:58     ` Chris Wedgwood
  -- strict thread matches above, loose matches on Subject: below --
2002-11-19  1:27 Jim Houston
2002-11-19 12:03 ` Andi Kleen

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=1037139074.10626.37.camel@plars \
    --to=plars@linuxtestproject.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.