* [Xenomai-help] IPC @ 2006-09-14 9:41 Nilanjan Roychowdhury 2006-09-14 9:47 ` Jan Kiszka 0 siblings, 1 reply; 2+ messages in thread From: Nilanjan Roychowdhury @ 2006-09-14 9:41 UTC (permalink / raw) To: xenomai [-- Attachment #1: Type: text/plain, Size: 232 bytes --] Hi What is the best IPC ( in terms of performance) between any user space XENOMAI task and a user space Linux thread ? I know pipes can be used between kernel space XENOMAI task and user space Linux thread ? -Nilanjan [-- Attachment #2: Type: text/html, Size: 1687 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] IPC 2006-09-14 9:41 [Xenomai-help] IPC Nilanjan Roychowdhury @ 2006-09-14 9:47 ` Jan Kiszka 0 siblings, 0 replies; 2+ messages in thread From: Jan Kiszka @ 2006-09-14 9:47 UTC (permalink / raw) To: Nilanjan Roychowdhury; +Cc: xenomai [-- Attachment #1: Type: text/plain, Size: 758 bytes --] Nilanjan Roychowdhury wrote: > Hi > > What is the best IPC ( in terms of performance) between any user space > XENOMAI task and a user space Linux thread ? > > I know pipes can be used between kernel space XENOMAI task and user > space Linux thread ? For larger blocks: shared memory. We added the rtdm_mmap_to_user service for this purpose. You can build up an interface on to of it (some IOCTL to establish a memory region with a user process, some furthers to inform the user about a valid data block and to signal the driver about the end of processing that block). This even allows to export DMA memory directly to the user, i.e. providing zero-copy. Already successfully applied on an (unpublished) framegrabbing driver. Jan [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 250 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-14 9:47 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-09-14 9:41 [Xenomai-help] IPC Nilanjan Roychowdhury 2006-09-14 9:47 ` Jan Kiszka
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.