[PATCH 0/3] Fixes for uclamp and capacity inversion detection

Qais Yousef posted 3 patches 3 years, 2 months ago
There is a newer version of this series
drivers/cpufreq/cpufreq.c | 12 +-----------
include/linux/cpufreq.h   | 26 ++++++++++++++++++++++++++
kernel/sched/fair.c       | 18 +++++++++---------
3 files changed, 36 insertions(+), 20 deletions(-)
[PATCH 0/3] Fixes for uclamp and capacity inversion detection
Posted by Qais Yousef 3 years, 2 months ago
From: "Qais Yousef (Google)" <qyousef@layalina.io>

Patch 1 addresses a smatch warning reported by Dan Carpenter.

Patch 2 fixes a couple of issues reported by Dietmar in capacity inversion
logic.

Patch 3 is an RFC patch to decouple capacity inversion detection from
performance domains which is dependent on sched_energy_enabled(). I switched to
traversing cpufreq policies instead. Rafael, Viresh please check I didn't do
something stupid here.


Thanks!

--
Qais Yousef

Qais Yousef (3):
  sched/uclamp: Fix a uninitialized variable warnings
  sched/fair: Fixes for capacity inversion detection
  sched/fair: Traverse cpufreq policies to detect capacity inversion

 drivers/cpufreq/cpufreq.c | 12 +-----------
 include/linux/cpufreq.h   | 26 ++++++++++++++++++++++++++
 kernel/sched/fair.c       | 18 +++++++++---------
 3 files changed, 36 insertions(+), 20 deletions(-)

-- 
2.25.1