Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How could processes share memory in early versions of UNIX version 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

1 Answer 1

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

 
discard

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.