mirror of
https://github.com/JakeHillion/scx.git
synced 2024-12-02 13:57:11 +00:00
5db0908530
We may end up selecting an invalid CPU (according to the task's cpumask) when dispatching the task via dispatch_direct_cpu(). When this happens simply return an error and do not dispatch the task and let the caller handle the error: in the context of select_cpu() we can simply ignore the dispatch and return the target CPU; in the context of FIFO mode dispatch we can fallback to SCX_DSQ_LOCAL if the target CPU is not valid. This fixes issue #353. Signed-off-by: Andrea Righi <andrea.righi@canonical.com> |
||
---|---|---|
.. | ||
bpf | ||
bpf.rs |