linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Valentin Schneider <valentin.schneider@arm.com>
To: Francesco Poli <invernomuto@paranoici.org>, linux-kernel@vger.kernel.org
Subject: Re: Question about sched_prio_to_weight values
Date: Mon, 7 Oct 2019 10:13:23 +0100	[thread overview]
Message-ID: <506d5ee6-246a-a03d-ea11-227ff4de1467@arm.com> (raw)
In-Reply-To: <20191007003205.8888ac99da2dd732b6198387@paranoici.org>

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!
> 
> 

  reply	other threads:[~2019-10-07  9:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-06 22:32 Question about sched_prio_to_weight values Francesco Poli
2019-10-07  9:13 ` Valentin Schneider [this message]
2019-10-07 20:41   ` Francesco Poli
2019-10-10 17:28     ` Valentin Schneider
2019-10-10 22:51       ` Francesco Poli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=506d5ee6-246a-a03d-ea11-227ff4de1467@arm.com \
    --to=valentin.schneider@arm.com \
    --cc=invernomuto@paranoici.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).