* [Xenomai-core] Questio about the Xenomai Scheduler
@ 2012-01-07 10:43 Jan-Erik Lange
2012-01-08 12:06 ` Jan-Erik Lange
0 siblings, 1 reply; 3+ messages in thread
From: Jan-Erik Lange @ 2012-01-07 10:43 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 343 bytes --]
Hello,
I have a question about the Xenomai scheduler.
Can the Xenomai Scheduler always preempt any operation of the scheduler of the standard Linux kernel? What is, when a migrated RT-Task
is currently scheduled by the standard Linux scheduler? Does the Xenomai Scheduler can preempt this task too?
Best regards
Jan
[-- Attachment #2: Type: text/html, Size: 601 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-core] Questio about the Xenomai Scheduler
2012-01-07 10:43 [Xenomai-core] Questio about the Xenomai Scheduler Jan-Erik Lange
@ 2012-01-08 12:06 ` Jan-Erik Lange
2012-01-09 12:16 ` Gilles Chanteperdrix
0 siblings, 1 reply; 3+ messages in thread
From: Jan-Erik Lange @ 2012-01-08 12:06 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]
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.
-> 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.
-> Still it is protected from preempting by an Linux interrupt handler, because the I-Pipe is block the interrupts.
From: jan0385@domain.hid
To: xenomai@xenomai.org
Date: Sat, 7 Jan 2012 11:43:15 +0100
Subject: [Xenomai-core] Questio about the Xenomai Scheduler
Hello,
I have a question about the Xenomai scheduler.
Can the Xenomai Scheduler always preempt any operation of the scheduler of the standard Linux kernel? What is, when a migrated RT-Task
is currently scheduled by the standard Linux scheduler? Does the Xenomai Scheduler can preempt this task too?
Best regards
Jan
_______________________________________________ Xenomai-core mailing list Xenomai-core@domain.hid https://mail.gna.org/listinfo/xenomai-core
[-- Attachment #2: Type: text/html, Size: 1873 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-core] Questio about the Xenomai Scheduler
2012-01-08 12:06 ` Jan-Erik Lange
@ 2012-01-09 12:16 ` Gilles Chanteperdrix
0 siblings, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2012-01-09 12:16 UTC (permalink / raw)
To: Jan-Erik Lange; +Cc: xenomai
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-09 12:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-07 10:43 [Xenomai-core] Questio about the Xenomai Scheduler Jan-Erik Lange
2012-01-08 12:06 ` Jan-Erik Lange
2012-01-09 12:16 ` Gilles Chanteperdrix
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.