All of lore.kernel.org
 help / color / mirror / Atom feed
From: "wilbur.chan" <wilbur512@gmail.com>
To: Linux MIPS Mailing List <linux-mips@linux-mips.org>
Subject: Clock Source in hrtimer
Date: Sun, 15 Aug 2010 10:13:23 +0800	[thread overview]
Message-ID: <AANLkTik5o+LsApwvkDTb7z+k=Ls60h9PJugrvM7ozO=p@mail.gmail.com> (raw)

I am planning to use  linux 2.6.24  with hrtimer enabled and with
CONFIG_NO_HZ  on mips xlr 732.


As we know, a   monotomic increasing Clock Source is required to
support hrtimer,  whose cycles could be retrieved  from
clocksource->read function.

However  on  xlr 732 ,there is only a 32 bits counter register, which
would overflow in 4s ( 2^32 / 1GHZ = 4).

How to solve this ?


Thanks in advance

             reply	other threads:[~2010-08-15  3:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-15  2:13 wilbur.chan [this message]
2010-08-15  6:14 ` Clock Source in hrtimer wu zhangjin
2010-08-15 16:00   ` wilbur.chan

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='AANLkTik5o+LsApwvkDTb7z+k=Ls60h9PJugrvM7ozO=p@mail.gmail.com' \
    --to=wilbur512@gmail.com \
    --cc=linux-mips@linux-mips.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.