June 2017
Intermediate to advanced
478 pages
13h 14m
English
Linux has a component named CPUFreq that manages the transitions between OPPs. It is part of the board support for the package for each SoC. CPUFreq consists of drivers in drivers/cpufreq/, which make the transition from one OPP to another, and a set of governors that implement the policy of when to switch. It is controlled per-CPU via the /sys/devices/system/cpu/cpuN/cpufreq directory, with N being the CPU number. In there, we find a number of files, the most interesting of which are as follows:
Read now
Unlock full access