Re: Kernel - user mode IPC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am working on a device driver which need notify user mode application to process incoming data or events.

I know signal can be used between kernel and user mode, but it has many limitations. After all, signal is not a good mechanism for communication.

My preference is to use IPC message between driver and user mode, but I was told that the IPC message is only for user mode in Linux, kernel does not support IPC message. Is it true? I've looked some device driver source code in Linux, seems some of them do use some complicated message structure. I am not sure those are available for kernel - user communication or only for kernel communication.

Notification is a very common feature in network device drivers for kernel and user communication, what are the common and effective mechanisms used in Linux?


Thank you.

Jim
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux