diff options
| author | 2026-03-15 16:24:41 +0800 | |
|---|---|---|
| committer | 2026-03-14 22:54:05 -1000 | |
| commit | f96bc0fa92be8dc0ec97bbe5bec6d5df26f9585b (patch) | |
| tree | a87bb879c9b1aea16e82500f400c2abfbd6aed42 /rust/kernel/num/ssh:/git@git.zx2c4.com | |
| parent | sched_ext: Update demo schedulers and selftests to use scx_bpf_task_set_dsq_vtime() (diff) | |
sched_ext: Update selftests to drop ops.cpu_acquire/release()
ops.cpu_acquire/release() are deprecated by commit a3f5d4822253
("sched_ext: Allow scx_bpf_reenqueue_local() to be called from
anywhere") in favor of handling CPU preemption via the sched_switch
tracepoint.
In the maximal selftest, replace the cpu_acquire/release stubs with a
minimal sched_switch TP program. Attach all non-struct_ops programs
(including the new TP) via maximal__attach() after disabling auto-attach
for the maximal_ops struct_ops map, which is managed manually in run().
Apply the same fix to reload_loop, which also uses the maximal skeleton.
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'rust/kernel/num/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
