Originally posted by saladin
View Post
There are still third party non mainline schedulers for Linux that attempt to help out with gaming and other desktop workload performance. eBPF scheduler items could allow some of these alterations to be done in a kernel neutral way in future and a lot safer.
Systemd providing a system to allow these ebpf scheduler modifications to be added to system in uniform way would make sense.
saladin you said affects every process in the system altering scheduler really does pay to read the documentation for the patch feature.
The system integrity is maintained no matter what the BPF scheduler does. The default scheduling behavior is restored anytime an error is detected, a runnable task stalls, or on sysrq-S.
Think about this you use alternative scheduler like projectc above it screws up you don't have a ball out 3 finger salute key combination to remove it and return to a more well tested scheduler like you have with sched-ext using eBPF to extend scheduler. Yes the eBPF throws any form of error that is catchable again kernel not panic and die instead returns to default well tested scheduler.
sched-ext is still a work in progress there are still a few places where allowed BPF operations in sched-ext do thing that will truly crash the kernel this is why I said catch-able errors. But this is still a smaller area to screw up than with a full non mainline scheduler and in time should get even smaller. These are in the Caveats section of the documentation.
Comment