aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2024-08-06 09:40:11 -1000
committerTejun Heo <tj@kernel.org>2024-08-06 09:40:11 -1000
commita735d43c7f85d112a6aefd72973188d0626e4464 (patch)
treec4f04a20128305f6d446c7a55f41c72e903d8c9a /tools/perf/scripts/python/export-to-postgresql.py
parent7799140b6a1697bf1d6ff80395079633f548f6e7 (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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions