Jayakumar Balasubramanian




About Me


Book Review

My Blog


Contact Me

Project Number: 3


Project Title: Implementation of Message Queues in Linux Kernel


Abstract: The message queues are IPC mechanisms used in Linux. When two user space processes wants to communicate among themselves this message queues come into picture. Basically the Linux Kernel will maintain linked list of message queues and a message queue identifier identifies each queue uniquely. When one process wants to send a message to another process it calls appropriate system call. The system call copies the user data into Kernel's address space and added into the linked list of messages. When the receiving process wants to read a message from the queue it calls appropriate system call. Now the message is copies from the Kernel's address space to user's buffer. Thus the processes communicate. This was tested with Linux Kernel Version 2.4.2


Resources: Source code  Design Document




Hosted by www.Geocities.ws