All of lore.kernel.org
 help / color / mirror / Atom feed
* 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

* Re: + high-res-timers-utilize-tsc-clocksource-again.patch added to -mm tree
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2006-12-13 14:50 UTC (permalink / raw)
  To: Daniel Walker; +Cc: linux-kernel, mingo

On Tue, 2006-12-12 at 08:46 -0800, Daniel Walker wrote:
> 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 ..

This was a mismerge. It's fixed by now.

Thanks,

	tglx





^ 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.