-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Running with idle priority on Linux leads to "mono_thread_internal_set_priority: unknown policy 5" warnings #20683
Comments
nekopsykose
added a commit
to nekopsykose/mono
that referenced
this issue
Sep 8, 2023
use the 0 path (man 7 sched): For threads scheduled under one of the normal scheduling policies (SCHED_OTHER, SCHED_IDLE, SCHED_BATCH), sched_priority is not used in scheduling decisions (it must be specified as 0). This change is released under the MIT license. closes mono#20683
nekopsykose
added a commit
to nekopsykose/mono
that referenced
this issue
Sep 8, 2023
use the 0 path (man 7 sched): For threads scheduled under one of the normal scheduling policies (SCHED_OTHER, SCHED_IDLE, SCHED_BATCH), sched_priority is not used in scheduling decisions (it must be specified as 0). This change is released under the MIT license. closes mono#20683
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to Reproduce
chrt --idle 0 csc
Current Behavior
Expected Behavior
No such warnings occur.
On which platforms did you notice this
[ ] macOS
[x] Linux
[ ] Windows
Version Used:
6.10.0.104 (the code appears to be the same on master)
Notes
In
mono/metadata/threads.c
, the caseSCHED_IDLE
appears to be unhandled.The text was updated successfully, but these errors were encountered: