diff options
author | Thara Gopinath | 2020-02-21 19:52:12 -0500 |
---|---|---|
committer | Ingo Molnar | 2020-03-06 12:57:21 +0100 |
commit | f12e4f66ab6a31f17da386b682e5fec87ae46537 (patch) | |
tree | b864c3702c89208a54b775d1e34123f6f3146bbc /kernel/sched/fair.c | |
parent | 467b7d01c469dc6aa492c17d1f1d1952632728f1 (diff) |
thermal/cpu-cooling: Update thermal pressure in case of a maximum frequency capping
Thermal governors can request for a CPU's maximum supported frequency to
be capped in case of an overheat event. This in turn means that the
maximum capacity available for tasks to run on the particular CPU is
reduced. Delta between the original maximum capacity and capped maximum
capacity is known as thermal pressure. Enable cpufreq cooling device to
update the thermal pressure in event of a capped maximum frequency.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/20200222005213.3873-9-thara.gopinath@linaro.org
Diffstat (limited to 'kernel/sched/fair.c')
0 files changed, 0 insertions, 0 deletions