aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2024-08-06 09:40:11 -1000
committerTejun Heo <[email protected]>2024-08-06 09:40:11 -1000
commita735d43c7f85d112a6aefd72973188d0626e4464 (patch)
treec4f04a20128305f6d446c7a55f41c72e903d8c9a /tools/testing/selftests/bpf/prog_tests/autoload.c
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 <[email protected]> Suggested-by: Peter Zijlstra <[email protected]> Acked-by: David Vernet <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions