* [Xenomai-core] Question on preempting a linux task
@ 2012-01-12 15:58 Jan-Erik Lange
2012-01-12 19:48 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: Jan-Erik Lange @ 2012-01-12 15:58 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 293 bytes --]
Hello,
Does the Xenomai scheduler has to interact with the Linux sheduler in order to preempt the tasks which are managed by it? Or is the Xenomai scheduler repealing the whole linux scheduler when it wants to run a task and and linux is running a task?
Best regards
Jan
[-- Attachment #2: Type: text/html, Size: 548 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-core] Question on preempting a linux task
2012-01-12 15:58 [Xenomai-core] Question on preempting a linux task Jan-Erik Lange
@ 2012-01-12 19:48 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2012-01-12 19:48 UTC (permalink / raw)
To: Jan-Erik Lange; +Cc: xenomai
On 01/12/2012 04:58 PM, Jan-Erik Lange wrote:
>
> Hello,
>
> Does the Xenomai scheduler has to interact with the Linux sheduler in
> order to preempt the tasks which are managed by it? Or is the Xenomai
> scheduler repealing the whole linux scheduler when it wants to run a
> task and and linux is running a task?
>
> Best regards Jan
No, xenomai may preempt linux in the middle of almost anything, that is
the whole point of being based on the adeos patch. However, when a task
needs to change scheduler, the two schedulers have to cooperate. If you
are interested in the details, see xnshadow_relax and xnshadow_harden in
ksrc/nucleus/shadow.c in xenomai sources.
--
Gilles.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-12 19:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-12 15:58 [Xenomai-core] Question on preempting a linux task Jan-Erik Lange
2012-01-12 19:48 ` 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.