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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +
> +	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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux