
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
1) Processor sends virtual address to MMU. 2‐3) MMU fetches PTE from page table in cache/memory. 4) Valid bit is zero, so MMU triggers page fault exception.
Typology: Lecture notes
1 / 32
This page cannot be seen from the preview
Don't miss anything!

























CSE351, Autumn 2017
L22: Virtual Memory II
CSE351, Autumn 2017
L22: Virtual Memory II
CSE351, Autumn 2017
L22: Virtual Memory II
CSE351, Autumn 2017
L22: Virtual Memory II
0
N‐
(e.g., read‐onlylibrary code)
0
N‐
0
M‐
CSE351, Autumn 2017
L22: Virtual Memory II
0
N‐
(e.g., read‐onlylibrary code)
0
N‐
0
M‐
CSE351, Autumn 2017
L22: Virtual Memory II
No
No
No
Yes
Yes
No
YesYesYes
YesYesYes Valid
Yes
No
No
No
Yes
No
YesYesYes
YesYesYes Valid
CSE351, Autumn 2017
L22: Virtual Memory II
Cache/Memory
VA
PTEA
PTE
1
2 3
4
5
Disk
Page fault handler
Victim page
New page
Exception
6
7
CSE351, Autumn 2017
L22: Virtual Memory II
CSE351, Autumn 2017
L22: Virtual Memory II
Cache/Memory
PA
Data
VA
PTE
1
2
4
5
VPN
3
PTE
VPN
→
PTE
VPN
→
PTE
VPN
→
CSE351, Autumn 2017
L22: Virtual Memory II
Cache/Memory
PA
Data
VA
PTE
1
2
5
6
VPN
4 PTEA
3
PTE
VPN
→
PTE
VPN
→
PTE
VPN
→
CSE351, Autumn 2017
L22: Virtual Memory II
CSE351, Autumn 2017
L22: Virtual Memory II
CSE351, Autumn 2017
L22: Virtual Memory II
13
12
11
10
9
8
7
6
5
4
3
2
1
0
11
10
9
8
7
6
5
4
3
2
1
0
CSE351, Autumn 2017
L22: Virtual Memory II