Address space

From Rice Wiki
Revision as of 18:43, 4 October 2024 by Rice (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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. Address translation by the MMU is used to avoid conflicting addresses by using symbolic addresses to represent physical addresses.