Re: Question about sched_prio_to_weight values
From: Valentin Schneider
Date: Mon Oct 07 2019 - 05:13:26 EST
Hi Francesco,
On 06/10/2019 23:32, Francesco Poli wrote:
[...]
> I searched the web and the mailing list archives, but I failed to find
> an answer to this question. Could someone please explain me how those
> numbers were picked?
>
Following the blame rabbit hole I found this:
254753dc321e ("sched: make the multiplication table more accurate")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=254753dc321ea2b753ca9bc58ac329557a20efac
which sounds like it would explain some small deltas if compared to a
formula that is set in stone.
Hope that helps.
> Thanks for your time!
>
>