mbox series

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

Message ID 20221127141742.1644023-1-qyousef@layalina.io
Headers show
Series Fixes for uclamp and capacity inversion detection | expand

Message

Qais Yousef Nov. 27, 2022, 2:17 p.m. UTC
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(-)