chapter 13: Address Space Flashcards
Early systems address space
just OS and ONE program that uses the rest of memory
what is an address space?
it is the running program’s view of memory in the system
what does the address space of a process contain?
code, stack, heap
what does the address space look like?
program code at the top
heap at 1KB growing downwards
stack starts at bottom 16KB growing upwards
note: multiple threads will co-exist in address space which screws up the structure of the add space but it’s only a convention
What is virtualizing memory?
when the OS gives the program their own virtual address spaces but not the REAL physical address. Uses page table and TLB to convert virtual mem to physical mem inside the OS
the 3 goals of virtualising memory?
transparency: program should not be aware of virtualization of memory
efficiency: time and space efficiency. hardware help: TLB
protection: isolate programs so they dont interfere with each other