Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scx_rustland: use scx_bpf_dispatch_cancel()
Use scx_bpf_dispatch_cancel() to invalidate dispatches on wrong per-CPU DSQ, due to cpumask race conditions. This prevents dispatching tasks to CPU that cannot be used according to the task's cpumask. With this applied the scheduler passed all the `stress-ng --race-sched` stress tests. Link: sched-ext/sched_ext#135 Signed-off-by: Andrea Righi <[email protected]>
- Loading branch information