Skip to contentSkip to conversation

+ high-res-timers-utilize-tsc-clocksource-again.patch added to -mm tree

DISCUSSION Daniel Walker 2 participants 2 messages Dec 12, 2006 – Dec 13, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Review

Quoted 12 lines
(quoted diff) +12 -0
+
+	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

#2 lore raw
Quoted 3 lines · Daniel Walker

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