Virtual Memory: answer the following questions about a process that uses the pag
ID: 3625900 • Letter: V
Question
Virtual Memory: answer the following questions about a process that uses the page table below:
Virtual page #
Valid bit
Ref bit
Dirty bit
Frame #
0
1
1
0
2
1
1
1
1
3
2
0
0
0
--
3
1
0
0
5
4
0
0
0
--
5
1
0
1
0
6
0
0
0
--
7
1
1
0
3
a). Which pages above are candidates to be evicted on a page fault? Which, if any, are better candidates to evict?
Virtual page #
Valid bit
Ref bit
Dirty bit
Frame #
0
1
1
0
2
1
1
1
1
3
2
0
0
0
--
3
1
0
0
5
4
0
0
0
--
5
1
0
1
0
6
0
0
0
--
7
1
1
0
3
Explanation / Answer
The page 3 is a better candidate for eviction than page 5, because page 5 is dirty and require a write back to disk when it is evicted.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.