lkml.org 
[lkml]   [2020]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] sched, arch_topology: Thermal pressure configuration cleanup
Date
Hi folks,

This stems from this thread [1] on the list. TL;DR: the thermal pressure config
has no helpful documentation, and figuring out if the right dependencies are in
place is not easy for a regular user.

The current landscape also paints an odd picture: arch_set_thermal_pressure() is
hardcoded in sched/core.c, and is *not* architecture-definable, while
arch_get_thermal_pressure() is. Patch 1 is tackling this, the rest is Kconfig
stuff.

Cheers,
Valentin

[1]: https://lkml.kernel.org/r/20200603173150.GB1551@shell.armlinux.org.uk

Valentin Schneider (3):
thermal/cpu-cooling, sched/core: Cleanup thermal pressure definition
sched: Cleanup SCHED_THERMAL_PRESSURE setup
arm, arm64: Select CONFIG_SCHED_THERMAL_PRESSURE

arch/arm/Kconfig | 1 +
arch/arm64/Kconfig | 1 +
drivers/base/arch_topology.c | 11 +++++++++++
drivers/thermal/cpufreq_cooling.c | 5 +++++
include/linux/arch_topology.h | 3 ---
init/Kconfig | 15 ++++++++++++++-
kernel/sched/core.c | 11 -----------
7 files changed, 32 insertions(+), 15 deletions(-)

--
2.27.0

\
 
 \ /
  Last update: 2020-06-14 03:11    [W:0.713 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site