All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Scheduling questions...
@ 2011-03-24 23:47 Eric Eric
  2011-03-25  8:21 ` Philippe Gerum
  2011-03-25 10:17 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 13+ messages in thread
From: Eric Eric @ 2011-03-24 23:47 UTC (permalink / raw)
  To: xenomai

Hello, I've been reading through some of the documentation and have a
few questions regarding scheduling:

- API docs say that rt_task_set_mode can allow a task to undergo
round-robin scheduling.  This seems to imply that we can have an
environment of mixed round-robin and FIFO task scheduling.  Is this
correct?  If so, what is the scheduling relationship between tasks
running in FIFO and RR modes?

- I am concerned about Linux starvation.  For example, suppose a
misbehaving RT task spins and burns CPU indefinitely (watchdog
notwithstanding).  I would still like to preempt this task and allow
Linux to run for up to some maximum time (say up to 30mS every 200mS).
 So, if using RR scheduling, is there a way to use rt_task_slice to
allocate time to Linux?  Is there a Linux shadow thread that I can
allocate time to?

Thank you.

- Eric


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-03-31  8:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-24 23:47 [Xenomai-help] Scheduling questions Eric Eric
2011-03-25  8:21 ` Philippe Gerum
2011-03-25 19:48   ` Eric Eric
2011-03-25 19:59     ` Philippe Gerum
2011-03-25 20:43       ` Eric Eric
2011-03-25 20:52         ` Philippe Gerum
2011-03-25 20:53           ` Philippe Gerum
2011-03-25 21:28           ` Eric Eric
2011-03-30  4:54             ` Philippe Gerum
2011-03-30 18:37               ` Eric Eric
2011-03-30 21:43                 ` Gilles Chanteperdrix
2011-03-31  8:54                 ` Philippe Gerum
2011-03-25 10:17 ` 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.