From: Russell King <rmk@arm.linux.org.uk>
To: george anzinger <george@mvista.com>
Cc: Andrew Morton <akpm@zip.com.au>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Fix jiffies_to_time[spec | val] and converse to use actual jiffies increment rather than 1/HZ
Date: Tue, 15 Apr 2003 09:55:28 +0100 [thread overview]
Message-ID: <20030415095528.B32468@flint.arm.linux.org.uk> (raw)
In-Reply-To: <3E9BC49E.7010903@mvista.com>; from george@mvista.com on Tue, Apr 15, 2003 at 01:36:46AM -0700
On Tue, Apr 15, 2003 at 01:36:46AM -0700, george anzinger wrote:
> In the current system (2.5.67) time_spec to jiffies, time_val to
> jiffies and the converse (jiffies to time_val and jiffies to
> time_spec) all use 1/HZ as the measure of a jiffie. Because of the
> inability of the PIT to actually generate an accurate 1/HZ interrupt,
> the wall clock is updated with a more accurate value (999848
> nanoseconds per jiffie for HZ = 1000).
There's an increasing amount of 64-bit math appearing here, which gcc
has been historically bad with. Is there any chance that all this
extra complexity can vanish for architectures which do not have this
problem?
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next prev parent reply other threads:[~2003-04-15 8:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-15 8:36 [PATCH] Fix jiffies_to_time[spec | val] and converse to use actual jiffies increment rather than 1/HZ george anzinger
2003-04-15 8:55 ` Russell King [this message]
2003-04-15 9:25 ` george anzinger
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=20030415095528.B32468@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=akpm@zip.com.au \
--cc=george@mvista.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 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.