chapter 13 - The Abstraction: Address Spaces Flashcards

1
Q

what was the memory layout in the early systems

A

OS at bottom -

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

what is multiprogramming

A

Keeping multiple processes in memory at once to maximize hardware usage

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

what is time sharing

A

switching quickly between process for interactivity

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

what is address space

A

each program sees a private view of memory - starting at 0

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

main parts of address space

A

code, stack, heap

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

which direction does stack and heap grow - why

A
  • stack - downwards
  • heap - upwards
    grows towards each other to allow flexibility
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

memory virtualization

A

Translating virtual addresses (used by programs) into physical addresses (actual memory locations)

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

transparancy in virtual memory

A

programs act as if they have full private memory, unaware of virtualization

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

how is transparency achieved

A

The OS and hardware automatically handle virtual-to-physical address translation behind the scenes

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

What is the role of protection in memory virtualization?

A

To isolate address spaces so processes cannot access each other’s memory

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

How are processes isolated from one another?

A

Each process is sandboxed in its own private address space

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

Why is efficiency important in memory virtualization?

A

Translation must be fast and lightweight to avoid slowing down programs

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