diff options
| author | Connor O'Brien <connoro@google.com> | 2017-05-19 12:36:17 -0700 |
|---|---|---|
| committer | Georg Veichtlbauer <georg@vware.at> | 2023-07-26 21:01:08 +0200 |
| commit | e280a059986f9185bdcfde732fcf65edac321d47 (patch) | |
| tree | c5d98637902c7a6f3de4fea2d7c5ed8fd4859bd3 /tools | |
| parent | f39d0b496aa4e13cbcf23bdf3c22d356bd783b9e (diff) | |
sched/tune: allow negative cpu boosts
schedtune sets 0 as the floor for calculating CPU max boost, so
negative schedtune.boost values do not affect CPU frequency
decisions. Remove this restriction to allow userspace to apply
negative boosts when appropriate.
Also change treatment of the root boost group to match the other
groups, so it only affects the CPU boost if it has runnable tasks on
the CPU.
Test: set all boosts negative; sched_boost_cpu trace events show
negative CPU margins.
Change-Id: I89f3470299aef96a18797c105f02ebc8f367b5e1
Signed-off-by: Connor O'Brien <connoro@google.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
