News for hackers. Stuff that matters.
Re:Rust-Written Linux Scheduler Showing Promising Results fo... by loeg on Tuesday January 16, 2024 @10:59AM (#39014821)
At least in one version of the documentation patch, there's mention of a watchdog timeout that unloads the user scheduler if it fails to make forward progress for some period of time.

https://www.uwsg.indiana.edu/hypermail/linux/kernel/2307.1/0...

Re:Rust-Written Linux Scheduler Showing Promising Results fo... by manifault on Tuesday January 16, 2024 @11:51AM (#39015475)
Correct -- the purpose of the watchdog is to account for buggy schedulers that fail to schedule runnable tasks. scx_rustland has special logic to track the user-space scheduling task, though. If it incorrectly failed to schedule it when it had no more runnable tasks to run, then the watchdog would eventually kick in, boot out scx_rustland, and revert back to EEVDF.