Hi all,
Thanks for finding this out and fixing! My apologies, I've found the
127 value in a man page (which I'm now failing to find again :-o) but
indeed absolutely agree now that 99 is the correct value.
Thanks!
Federico
Il giorno ven 19 mar 2021 alle ore 17:22 John Kacur
<jkacur(a)redhat.com> ha scritto:
>
>
>
> On Fri, 19 Mar 2021, Guy Streeter wrote:
>
> > 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.
> >
> > >>> import os
> > >>> os.sched_get_priority_min(2)
> > 1
> > >>> os.sched_get_priority_max(2)
> > 99
>
>
> Oops, I should have caught that one, thanks Guy! We should have the range
> from 0 to 99 though, to accomdate SCHED_OTHER, or am I missing something
>
> John
> _______________________________________________
> tuna-devel mailing list -- tuna-devel(a)lists.fedorahosted.org
> To unsubscribe send an email to tuna-devel-leave(a)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-devel@lists.fedorahoste...
> Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure