5 ms·
The scx_userland scheduler itself knows which task in user space is the scheduler task, and schedules it when it doesn't have any more runnable tasks to dispatc
by manifault 3y ago
The scx_userland scheduler itself knows which task in user space is the scheduler task, and schedules it when it doesn't have any more runnable tasks to dispatch from the kernel: https://github.com/sched-ext/scx/blob/main/scheds/rust/scx_rustland/src/bpf/main.bpf.c#L450-L468 https://github.com/sched-ext/scx/blob/main/scheds/rust/scx_r...
- amluto 3y agoHah, I should have spent 120 seconds searching :)