Operating Systems
Fall 2014
Memory Management
Myungjin Lee myungjin.lee@ed.ac.uk
1
Operating Systems Fall 2014 Memory Management Myungjin Lee - - PowerPoint PPT Presentation
Operating Systems Fall 2014 Memory Management Myungjin Lee myungjin.lee@ed.ac.uk 1 Goals of memory management Allocate memory resources among competing processes, maximizing memory utilization and system throughput Provide isolation
1
2
3
4
5
6
7
8
9
10
11
12
2K 6K 8K 12K physical memory
virtual address
base register
raise protection fault limit register
13
14
physical memory
virtual address
base register
limit register
raise protection fault
15
16
physical address space
virtual address space
17
18
19
20
physical memory virtual address space
1K 2K 3K 4K 5K 6K 7K 8K
K 2K page table page frame 3 1 5 virtual address space
K 2K page table page frame 7 1 5 2
1
3K 4K
9K
10K Page fault – next lecture!
21
physical memory
physical address
page table
virtual address
22
23
24
25
26
27
28
29
30
physical memory segment #
virtual address
raise protection fault
base limit segment table
31
32
33