2019年4月

CPUFreq policy代码分析

参考4.9,主要了解几个结构成员:struct cpufreq_policy { /* CPUs sharing clock, require sw coordination */ cpumask_var_t cpus; /* Online CPUs only */ cpumask_var_t related_cp...阅读全文

CPUFreq boost代码分析

参考4.9内核,还是先看文档描述:IntroductionSome CPUs support a functionality to raise the operating frequency ofsome cores in a multi-core package if certain conditions apply, mostlyif the whole chip i...阅读全文

Linux CPUFreq Subsystem Overview

参考4.9,CPUFreq即CPU Frequency scaling或者CPU performance scaling,允许你运行时改变CPU clock speed.文档路径: ./Documentation/cpu-freq/,先来看几个概念:Some CPU frequency scaling-capable processor switch between va...阅读全文