* [Xenomai-help] Priorities in the vxWorks skin
@ 2005-11-23 17:06 Hans-J. Ude
2005-11-25 8:12 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Hans-J. Ude @ 2005-11-23 17:06 UTC (permalink / raw)
To: xenomai
When I create some tasks under the vx skin with different priorities and
then look at the /proc/xeno/sched file they are all listed with the
value 2. Shouldn't priorities be mapped to the internal priority scale?
Of course I can't expect the original vx values there but nevertheless
they shouldn't be all the same. I've created an rtai interrupt handler
task with priority 99 too. That one appeares with the value 100 in the
list.
regards,
Hans
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] Priorities in the vxWorks skin
2005-11-23 17:06 [Xenomai-help] Priorities in the vxWorks skin Hans-J. Ude
@ 2005-11-25 8:12 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2005-11-25 8:12 UTC (permalink / raw)
To: Hans-J. Ude; +Cc: xenomai
Hans-J. Ude wrote:
> When I create some tasks under the vx skin with different priorities and
> then look at the /proc/xeno/sched file they are all listed with the
> value 2. Shouldn't priorities be mapped to the internal priority scale?
> Of course I can't expect the original vx values there but nevertheless
> they shouldn't be all the same. I've created an rtai interrupt handler
> task with priority 99 too. That one appeares with the value 100 in the
> list.
>
The explanation is accessible there:
http://download.gna.org/xenomai/documentation/tags/v2.0.1/pdf/Introduction-to-UVMs.pdf
In short, in the context of the UVM, a user-space copy of the nucleus is
running embodied into your Linux process, this is the one that enforces
the VxWorks priority levels. To this end, it only uses three scheduling
levels from the real nucleus in kernel space it communicates with, in
order to schedule the application threads: one for the interrupt
services, one for the idle thread, and the final one for the thread that
should be running application-wise. Non-running threads are simply
suspended from the in-kernel nucleus POV.
> regards,
> Hans
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
>
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-25 8:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-23 17:06 [Xenomai-help] Priorities in the vxWorks skin Hans-J. Ude
2005-11-25 8:12 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.