lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <117cfc288d1eed419c5f296d43167116@localhost>
Date:	Thu, 17 Dec 2009 15:22:08 +0100
From:	Ivan Gualandri <finarfin@...amos.org>
To:	linux-kernel@...r.kernel.org
Subject: Real Time scheduler infos

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! 





--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ