lkml.org 
[lkml]   [2006]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: + high-res-timers-utilize-tsc-clocksource-again.patch added to -mm tree
From
Date
> +
> + 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-12-12 17:49    [W:0.056 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site