Shared memory

A resource

Address spaces of processes are independent.

But address spaces are virtual.

The same physical region can be mapped into two or more virtual regions.

Shared memory is managed as a resource by the operating system.

Two actions are required:

  • Requesting a segment of shared memory to the OS.

  • Mapping that segment in the process’ address space.

Last updated