The BPF extensible scheduler class
The BPF extensible scheduler class
Posted Dec 3, 2022 0:23 UTC (Sat) by riking (subscriber, #95706)Parent article: The BPF extensible scheduler class
Posted Dec 4, 2022 17:46 UTC (Sun)
by Manifault (guest, #155796)
[Link]
/**
That ops.exit() callback will be invoked with SCX_EXIT_ERROR_STALL [1] in the event of a hung task causing the BPF scheduler to be evicted, so BPF does have a chance to handle / record / etc the scheduler being evicted for timeouts.
[0]: https://lore.kernel.org/all/20221130082313.3241517-15-tj@...
The BPF extensible scheduler class
* exit - Clean up after the BPF scheduler
* @info: Exit info
*/
void (*exit)(struct scx_exit_info *info);
[1]: https://lore.kernel.org/all/20221130082313.3241517-19-tj@...