John Kacur
2021-03-19 16:21:52 UTC
The man page for sched_setscheduler(), which tuna uses to set the RT priority, says the allowed range is specified by sched_get_priority_min() and sched_get_priority_max().
The man page for those 2 functions says the range is 1 to 99 for FIFO and RR.
Oops, I should have caught that one, thanks Guy! We should have the rangeThe man page for those 2 functions says the range is 1 to 99 for FIFO and RR.
import os
os.sched_get_priority_min(2)
1os.sched_get_priority_min(2)
os.sched_get_priority_max(2)
99from 0 to 99 though, to accomdate SCHED_OTHER, or am I missing something
John
_______________________________________________
tuna-devel mailing list -- tuna-***@lists.fedorahosted.org
To unsubscribe send an email to tuna-devel-***@lists.fedorahosted.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/tuna-***@lists.fedorahosted.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastruc