diff options
author | Tejun Heo <tj@kernel.org> | 2024-08-06 09:40:10 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-08-06 09:40:10 -1000 |
commit | cd0144926836b8405966ca9d00f6425ef822fa4b (patch) | |
tree | 94141b75f78a5a14b5cfda70787f5dddc67688ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 11cc374f4643b1be16deab571e034409c6ee7e66 (diff) |
sched_ext: Add scx_enabled() test to @start_class promotion in put_prev_task_balance()
SCX needs its balance() invoked even when waking up from a lower priority
sched class (idle) and put_prev_task_balance() thus has the logic to promote
@start_class if it's lower than ext_sched_class. This is only needed when
SCX is enabled. Add scx_enabled() test to avoid unnecessary overhead when
SCX is disabled.
Signed-off-by: Tejun Heo <tj@kernel.org>
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: David Vernet <void@manifault.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions