Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Using Shared Memory in Real-Time Linux



Frederick M. Proctor


Shared memory can be used in place of first-in-first-out queues (FIFOs) for communication between Linux operating system user processes and real-time Kernel modules. Shared memory has some features (e.g., fast access to large data structures, multiple readers) that make it more suitable than FIFOs in some systems. This documentation describes how to set up shared memory, and how to use it for consistent reading, writing, and queuing of data between user and kernel processes.
Using Shared Memory in Real-Time Linux


Miscellaneous, real-time Linux, shared memory


Proctor, F. (1999), Using Shared Memory in Real-Time Linux, Using Shared Memory in Real-Time Linux, [online], internal:/None (Accessed July 18, 2024)


If you have any questions about this publication or are having problems accessing it, please contact

Created January 1, 1999, Updated February 17, 2017