* Re: + high-res-timers-utilize-tsc-clocksource-again.patch added to -mm tree
[not found] <200612010114.kB11EvV3027260@shell0.pdx.osdl.net>
@ 2006-12-12 16:46 ` Daniel Walker
2006-12-13 14:50 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Walker @ 2006-12-12 16:46 UTC (permalink / raw)
To: linux-kernel; +Cc: tglx, mingo
> +
> + 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-13 15:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200612010114.kB11EvV3027260@shell0.pdx.osdl.net>
2006-12-12 16:46 ` + high-res-timers-utilize-tsc-clocksource-again.patch added to -mm tree Daniel Walker
2006-12-13 14:50 ` Thomas Gleixner
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