-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support running without tweakable scheduler if cfs profiles are disabled #91
Comments
The general idea is correct but the unwrap will cause a panic if the debug paths are missing |
Fixes an early return of the service SchedPaths::new returns an error. Closes #91
I was originally considering just doing an |
Fixes an early return of the service SchedPaths::new returns an error. Closes #91
Currently, if the kernel is built without
SCHED_DEBUG
, then the entire functionality of the scheduler is prevented - even if the CFS tweaking functionality is never used, especially seeing as cfs-profiles are set as disabled in the default configuration.I ended up writing a small - and mediocre - patch to be able to get a binary that I can deploy on systems both with and without CFS tuning paths; (Not a rust developer, and not going to submit it as a PR as it should really handle the error properly on startup if cfs-profiles are enabled)
The text was updated successfully, but these errors were encountered: