[LITMUS^RT] SCHED_FIFO priority vs Litmus priority
Björn Brandenburg
bbb at mpi-sws.org
Mon Feb 24 14:56:31 CET 2014
On 20 Feb 2014, at 20:56, ayoade gbadebo <gbaduz at gmail.com> wrote:
> I observed the priority for SCHED_FIFO is 2 and LITMUS priority is 6 as shown in the header files.
>
> Knowing that priority values that are lower means a higher priority task, which means that in the case above, sched fifo tasks have higher priority than litmus task.
> Can My assumption be verified ?. I always thought litmus tasks have the highest priority in the system.
You are confusing scheduling priorities with the symbolic constants used to identify scheduling policies. The #defines that you are looking at have nothing to do with scheduling priorities. The LITMUS^RT scheduling class indeed takes precedence over SCHED_FIFO.
- Björn
More information about the litmus-dev
mailing list