diff options
author | 2024-08-06 09:40:10 -1000 | |
---|---|---|
committer | 2024-08-06 09:40:10 -1000 | |
commit | cd0144926836b8405966ca9d00f6425ef822fa4b (patch) | |
tree | 94141b75f78a5a14b5cfda70787f5dddc67688ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched_ext: Simplify scx_can_stop_tick() invocation in sched_can_stop_tick() (diff) | |
download | wireguard-linux-cd0144926836b8405966ca9d00f6425ef822fa4b.tar.xz wireguard-linux-cd0144926836b8405966ca9d00f6425ef822fa4b.zip |
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