notes

Personal notes
git clone git://git.laack.co/notes.git
Log | Files | Refs

VirtualAddressSpace.md (744B)


      1 # Virtual Address Space
      2 
      3 **Source:** CS 6200
      4 
      5 **Chapter:** P2L1
      6 
      7 **Definition:** A virtual address space is a contiguous block of virtual memory addresses made accessible to a process by an operating system.
      8 
      9 ## Specifics
     10 
     11 A virtual address space is addressed from $v_0$ to $v_{max}$.
     12 
     13 NOTE: Just because the address space is contiguous, it doesn't mean all of the memory has been allocated (yet).
     14 
     15 The virtual address space for a process is made of the following parts:
     16 
     17 - Static state (available when the process first loads)
     18     - This is memory that is allocated when the process first loads
     19         - text (code)
     20         - data
     21 - Heap
     22 - Stack
     23     - Grows and shrinks during execution using LIFO order
     24 
     25 See also: [Page Table](PageTable.md)