Linux 4.15 Gets Fixed To Report Current CPU Frequency Via /proc/cpuinfo
Written by Michael Larabel in Linux Kernel on 17 November 2017 at 03:09 PM EST. 7 Comments
LINUX KERNEL --
A change recently in the Linux kernel led the CPU MHz reported value via /proc/cpuinfo to either be the nominal CPU frequency or the most recently requested frequency. This behavior changed compared to pre-4.13 kernels while now it's been fixed up to report the current CPU frequency.

ACPI/PM maintainer Rafael Wysocki whipped up a new patch to ensure the current CPU frequency is always shown in /proc/cpuinfo and matches then what is shown by scaling_cur_freq on sysfs. He also had to workaround some situations where many-core systems would lead to slow access times for /proc/cpuinfo.

Today he sent this fix in this pull request for Linux 4.15 while it's also expected to be back-ported to Linux 4.14 to maintain the CPU frequency reporting behavior for /proc/cpuinfo.

This pull request comes a few days after the other ACPI and power management updates for Linux 4.15's ongoing merge window.

About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Linux Kernel News
Popular News