diff options
author | Tejun Heo <tj@kernel.org> | 2024-08-06 09:40:11 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-08-06 09:40:11 -1000 |
commit | a735d43c7f85d112a6aefd72973188d0626e4464 (patch) | |
tree | c4f04a20128305f6d446c7a55f41c72e903d8c9a /tools/perf/scripts/python/parallel-perf.py | |
parent | 7799140b6a1697bf1d6ff80395079633f548f6e7 (diff) |
sched_ext: Simplify UP support by enabling sched_class->balance() in UP
On SMP, SCX performs dispatch from sched_class->balance(). As balance() was
not available in UP, it instead called the internal balance function from
put_prev_task_scx() and pick_next_task_scx() to emulate the effect, which is
rather nasty.
Enabling sched_class->balance() on UP shouldn't cause any meaningful
overhead. Enable balance() on UP and drop the ugly workaround.
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/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions