Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How could processes share memory in early versions of Unix? How does this compare with modern implementations of shared memory?

share|improve this question
If Michael's answer satisfies your question, you should accept it. – André Paramés Jan 18 '11 at 22:30

Very early UNIX systems did not have MMUs, and so effectively, all memory in the system was shared between all processes in memory. UNIX V7 was the first one that had memory management, AFAIK. The PDP-11 did not even have a MMU when it was released; see this PDF book, page 35.

As time moved forward and MMUs became a commonplace thing, UNIX began to require it. And then memory could be separated between processes. In the 1980s we saw more IPC mechanisms, including shared memory managed by the OS (which was new in SVR1, circa 1983). SVR1 also introduced messages and semaphors, and the System V APIs are still available on modern systems for all three of these things.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.