All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Using Preempt RT with I-Pipe/Xenomai
@ 2014-05-25 19:59 Stoidner, Christoph
  2014-05-26 11:08 ` Philippe Gerum
  0 siblings, 1 reply; 6+ messages in thread
From: Stoidner, Christoph @ 2014-05-25 19:59 UTC (permalink / raw)
  To: xenomai@xenomai.org

Hi at all,

I need some sort of real time behaviour in secondary domain, so I am trying to merge Preempt RT patch with I-Pipe/Xenomai. Since Preempt RT as well as I-Pipe doing some specific changes to kernel's spinlock handling (mostly in  "include/linux/spinlock.h") this becomes a bit of tricky. The challenge seems to combine Preemp RT's "rt_spin_lock" with I-Pipe's "ipipe_spinlock".  

My first approach was to instrument I-Pipe's "PICK_SPINLOCK" macros with Preempt RT's "rt_spin_lock" calls. In detail that means I have added calls of rt_spin_lock to all PICK_SPINLOCK macros for each spinlock type  that is not an I-Pipe spinlock. However I am not sure if that is the best solution and if it is correct for all situations. 

Has someone experiences how to merge these spinlocks or what to consider at all when using Preempt RT with I-Pipe/Xenomai?

I am grateful for each hint according to that theme.

For Information: Currently I am working with kernel Kernel 3.10.18 and Xenomai 2.6.3

Thanks and regards,
Christoph


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

end of thread, other threads:[~2015-10-27 11:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-25 19:59 [Xenomai] Using Preempt RT with I-Pipe/Xenomai Stoidner, Christoph
2014-05-26 11:08 ` Philippe Gerum
2014-05-26 14:11   ` Stoidner, Christoph
2015-10-27  5:43   ` Vasudev Kamath
2015-10-27  6:16     ` Vasudev Kamath
2015-10-27 11:07       ` Vasudev Kamath

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.