From: Ivan Gualandri <finarfin@dreamos.org>
To: linux-kernel@vger.kernel.org
Subject: Real Time scheduler infos
Date: Thu, 17 Dec 2009 15:22:08 +0100 [thread overview]
Message-ID: <117cfc288d1eed419c5f296d43167116@localhost> (raw)
Hi,
i have a question about priorities in RT patchset.
In linux priorites are from 1 to 139 (1 highest - 139 lowest)
And RT prorities are between 1 to 99. An i think 1 is highest and 139
lowest.
But now if i try to launch three tasks with 3 different priorities:
for example
A has priority 10
B has priority 20
C has priority 30
I notice that the tasks B and C are always the first two to run. And A
always wait the end of B or C (also if A is the first task launched).
Now my question is:
when i set priority of a RT task (changing the sched_priority field of my
task) the highest priority is 99 or 1?
Thanks,
--i
P.s. Sorry for my bad english!
next reply other threads:[~2009-12-17 14:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-17 14:22 Ivan Gualandri [this message]
2009-12-17 14:38 ` Real Time scheduler infos Peter Zijlstra
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=117cfc288d1eed419c5f296d43167116@localhost \
--to=finarfin@dreamos.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