On 01/08/2012 01:06 PM, Jan-Erik Lange wrote:
> 
> Is it perhaps this way?:
> 
> When the RT-Task migrated into the secondary domain, it is scheduled
> by the Linux-Scheduler:
> 
> -> It inherits the RT-priority from her life in the primary domain
> and is timely priviliged compared to other tasks scheduled by the
> linux scheduler, which have a lower priority.

No, a linux task with a higher priority than the RT task running in
secondary mode may preempt the RT task running in secondary mode.

> -> But it can always be
> preempted by an RT-Task, that runs in the primary domain and that is
> scheduled by the Xenomai Scheduler, because this scheduler can
> preempt all standard linux kernel activities. 

Yes if root priority inheritance is disabled, not if it is enabled (the
default).

> -> Still it is
> protected from preempting by an Linux interrupt handler, because the
> I-Pipe is block the interrupts.

No, this used to be true a long time ago, but is no longer the case.

You have to consider that an RT task running in secondary mode is an
ordinary linux task. Only tasks remaining in primary mode are deterministic.

-- 
                                                                Gilles.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to