Address space
From Rice Wiki
The address space of a process usually consists of three segments
- Stack
- Data
- Code
Typically, stack and data segments are dynamic.
Address space abstracts physical memory in the following three ways:
- Address independence: Each process has its own memory
- Protection: that only it can access
- Virtual memory: that is large
Multiprogramming allows multiple processes in memory at a time. This is motivated by the observation that most processes would only require a small bit of memory at a time.