[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 12 Dec 2006 08:46:09 -0800
From: Daniel Walker <dwalker@...sta.com>
To: linux-kernel@...r.kernel.org
Cc: tglx@...utronix.de, mingo@...e.hu
Subject: Re: + high-res-timers-utilize-tsc-clocksource-again.patch added to
-mm tree
> +
> + 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists