?? wrote:
> hi all,
> 
> In SMP system, an edge triggerred interrupt may be dispatched to multiple
> cpus, so the RT ISR of this interrupt may be involved on multiple cpus at
> the same time. The question comes: is RT ISR need to be reentrant as
> designed or do I miss something?

Good question. I would say: yes, it's the I-pipe user's job to take care
of re-entrance safety.

Vanilla Linux prevents this via the IRQ_INPROGRESS flag. Xenomai 2.4 and
since 2.3.2 achieves re-entrance protection for the registered driver
handler by holding the IRQ-related spinlock while calling into that
handler. Still, this isn't something the user should build his system
upon. It is rather recommended for determinism and efficiency reasons to
assign RT IRQs to a specific CPU.

HTH,
Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Reply via email to