From: Daniel Walker <dwalker@mvista.com>
To: linux-kernel@vger.kernel.org
Cc: tglx@linutronix.de, mingo@elte.hu
Subject: Re: + high-res-timers-utilize-tsc-clocksource-again.patch added to -mm tree
Date: Tue, 12 Dec 2006 08:46:09 -0800 [thread overview]
Message-ID: <1165941969.8103.56.camel@imap.mvista.com> (raw)
In-Reply-To: <200612010114.kB11EvV3027260@shell0.pdx.osdl.net>
> +
> + if (pm == last_pm) {
> + interval_tsc = now_tsc - last_tsc;
> + interval_tsc *= HZ;
> + do_div(interval_tsc, cpu_khz*1000);
> + } else {
> + if (pm < last_pm)
> + pm += ACPI_PM_OVRRUN;
> + pm_delta = pm - last_pm;
> + interval_tsc = (((u64) pm_delta) * pm_multiplier) >> 22;
> + do_div(interval_tsc, TICK_NSEC);
> + }
What is this accomplishing? My TSC gets marked unstable, and it's not
unstable, in addition I have HRT off .. The else clause above just
doesn't seem right ..
Daniel
next parent reply other threads:[~2006-12-12 16:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200612010114.kB11EvV3027260@shell0.pdx.osdl.net>
2006-12-12 16:46 ` Daniel Walker [this message]
2006-12-13 14:50 ` Thomas Gleixner
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=1165941969.8103.56.camel@imap.mvista.com \
--to=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/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
Powered by JetHome