From: "Stone, Joshua I" <joshua.i.stone@intel.com>
To: "David Wilder" <dwilder@us.ibm.com>
Cc: <systemtap@sources.redhat.com>
Subject: RE: S390 _stp_gettimeofday_ns() change
Date: Mon, 09 Oct 2006 19:39:00 -0000 [thread overview]
Message-ID: <C56DB814FAA30B418C75310AC4BB279DBCE478@scsmsx413.amr.corp.intel.com> (raw)
On Monday, October 09, 2006 12:33 PM, David Wilder wrote:
> While investigating a possible compiler bug on the s390 affecting
> __stp_estimate_cpufreq(), I came to the conclusion that this function
> made little sense on the s390. Both get_cycles() and udelay() use the
> TOD clock. On the s390 the TOD is always at a known frequency on all
> models. The following patch to _stp_gettimeofday_ns() simply
> converts get_cycles()'s return value into nanoseconds and it has the
> side effect of avoiding the gcc bug :)
>
> The per-cpu timer values are also not needed on the s390 as all cpus
> use the same TOD clock. However, I did not remove this code for ease
> of maintenance.
Committed. I don't have an s390 to test, so I'll have to assume you
know what you're talking about. ;)
Josh
next reply other threads:[~2006-10-09 19:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-09 19:39 Stone, Joshua I [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-10-09 18:56 David Wilder
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=C56DB814FAA30B418C75310AC4BB279DBCE478@scsmsx413.amr.corp.intel.com \
--to=joshua.i.stone@intel.com \
--cc=dwilder@us.ibm.com \
--cc=systemtap@sources.redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).