Re: [PATCH] x86: Calculate MHz using APERF/MPERF for cpuinfo and scaling_cur_freq

From: Borislav Petkov
Date: Fri Apr 01 2016 - 05:50:19 EST


On Fri, Apr 01, 2016 at 11:30:48AM +0200, Stephane Gasparini wrote:
> The MSRs will not wrap that often.

Unless some yahoo goes and does WRMSR APERF <big_value_close_to_wrap_around>.

I think we should handle that gracefully too, regardless of how "smart"
that move might be.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.