summaryrefslogtreecommitdiff
path: root/kernel/kthread.c
diff options
context:
space:
mode:
authorSteve Muckle <smuckle@linaro.org>2016-10-24 18:22:19 -0700
committerAndres Oportus <andresoportus@google.com>2017-06-02 08:01:50 -0700
commitca7b7d3c9995a12d57a7e7df6bb567a63b6cad00 (patch)
treedcb4ff6bfe6780cb03bd88d0cb30cac322f3e3c7 /kernel/kthread.c
parent6bc6115c16caeb19d2d946eef8ca00d00c154118 (diff)
sched/cpufreq: fix tunables for schedfreq governor
The schedfreq governor does not currently handle cpufreq drivers which use a global set of tunables (!have_governor_per_policy). For example on x86 and using the acpi cpufreq driver, doing this cat /sys/devices/system/cpu/cpufreq/sched/up_throttle_nsec will result in a bad pointer access. Update the tunable code using the upstream schedutil tunable code by Rafael Wysocki as a guide. Includes a partial backport of the reorganized cpufreq tunable infrastructure. Change-Id: I7e6f8de1dac297077ad43f37dd2f6ddbfe921c98 Signed-off-by: Steve Muckle <smuckle@linaro.org> [fixed cherry-pick issue] Signed-off-by: Juri Lelli <juri.lelli@arm.com> [fixed cherry-pick issue] Signed-off-by: Thierry Strudel <tstrudel@google.com>
Diffstat (limited to 'kernel/kthread.c')
0 files changed, 0 insertions, 0 deletions