chapter 13: Address Space Flashcards

1
Q

Early systems address space

A

just OS and ONE program that uses the rest of memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is an address space?

A

it is the running program’s view of memory in the system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what does the address space of a process contain?

A

code, stack, heap

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what does the address space look like?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is virtualizing memory?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

the 3 goals of virtualising memory?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly