From: "Bart Van Assche" <bart.vanassche@gmail.com>
To: "Jack Harvard" <jack.harvard@googlemail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: gettimeofday() resolution in Linux?
Date: Thu, 10 Apr 2008 20:02:58 +0200 [thread overview]
Message-ID: <e2e108260804101102tfc21271id2b71429ac5b5b6@mail.gmail.com> (raw)
In-Reply-To: <a72f6a3c0804101057i10c572bak1dd09f0c7fd75d30@mail.gmail.com>
On Thu, Apr 10, 2008 at 7:57 PM, Jack Harvard
<jack.harvard@googlemail.com> wrote:
> On Thu, Apr 10, 2008 at 6:41 PM, Bart Van Assche
> <bart.vanassche@gmail.com> wrote:
> > On Thu, Apr 10, 2008 at 5:59 PM, Jack Harvard
> > <jack.harvard@googlemail.com> wrote:
> >
> > > Here is an example of gettimeofday results, the time rolls back sometimes.
> >
> > If the result of gettimeofday() rolls back, and there is no process on
> > your system that sets the time (like ntpd or hwclock --hctosys) then
> > this is a kernel bug. Which kernel version are you using, and which
> > kernel patches have been applied to that kernel ?
>
> It's an embedded system with an ARM processor, uname -a give the following info:
> Linux (none) 2.6.21-arm1-t2_1 #20 Thu Apr 10 15:20:46 BST 2008 armv6l unknown
Where did the kernel sources come from -- from kernel.org or from an
company that modified the kernel ? Most companies that offer support
for Linux on embedded devices modify the kernel with e.g. hard
real-time support and high resolution timers. It is easy to introduce
bugs by doing so.
Bart.
next prev parent reply other threads:[~2008-04-10 18:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 14:40 Jack Harvard
2008-04-10 15:04 ` Lennart Sorensen
2008-04-10 15:35 ` Andi Kleen
2008-04-10 15:59 ` Jack Harvard
2008-04-10 17:41 ` Bart Van Assche
[not found] ` <a72f6a3c0804101057i10c572bak1dd09f0c7fd75d30@mail.gmail.com>
2008-04-10 18:02 ` Bart Van Assche [this message]
2008-04-10 15:49 ` Chris Friesen
2008-04-10 16:07 ` Bart Van Assche
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=e2e108260804101102tfc21271id2b71429ac5b5b6@mail.gmail.com \
--to=bart.vanassche@gmail.com \
--cc=jack.harvard@googlemail.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
all inboxes | Powered by JetHome®