Skip to contentSkip to conversation

system IPC

DISCUSSION YH 2 participants 3 messages Sep 7, 2005 – Sep 8, 2005

lore
Share & tools
lore

YH

author
#0 lore raw

It seems that the kernel disallows drivers to use system IPC. Asynchronous communication mechanism is very effective mechanism among various embedded OSes, even popular in RTOSes. Any reason why cannot use sys_msgsnd and sys_msgrcv for kernel drivers?

#1 lore raw
Quoted 5 lines · YH

It seems that the kernel disallows drivers to use system IPC. Asynchronous communication mechanism is very effective mechanism among various embedded OSes, even popular in RTOSes. Any reason why cannot use sys_msgsnd and sys_msgrcv for kernel drivers?

Because they were not designed for use inside the kernel.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.13 on an i686 machine (5589.54 BogoMips). Warning : 98.36% of all statistics are fiction.
.
I apologize for the following. I tried to kill it with the above dot :

****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to [email protected] - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.

author
#2 lore raw

Are there any messaging mechanism (not signal) designed in kernel for drivers to communicate user mode asynchronously? If not, any reason why not using messaging in kernel as it is an effective and simple mechanism for embedded and real time system?

Thank you.

Cheers.

Jim

Quoted 24 lines · linux-os (Dick Johnson)
Quoted 5 lines · YH

It seems that the kernel disallows drivers to use system IPC. Asynchronous communication mechanism is very effective mechanism among various embedded OSes, even popular in RTOSes. Any reason why cannot use sys_msgsnd and sys_msgrcv for kernel drivers?

Because they were not designed for use inside the kernel.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.13 on an i686 machine (5589.54 BogoMips). Warning : 98.36% of all statistics are fiction.
.
I apologize for the following. I tried to kill it with the above dot :

****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to [email protected] - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.