397 views

1 Answer

0 votes
0 votes
C needs to be checked only during a cache miss as then only there will be a main memory reference and we have to decide whether to cache that particular page or not.

All others are not always required. If we are not caching a page, then there is no need to do virtual address to physical address translation while looking in cache.

Also, a dirty page can be cached. Dirty bit in a page means, the page is modified and must be written back to secondary memory during replacement. This has nothing to do with the page being cached or not.

http://6004.mit.edu/Fall13/tutprobs/vm.html

Related questions

0 votes
0 votes
0 answers
1
Mak Indus asked Jan 11, 2019
288 views
0 votes
0 votes
0 answers
2
iarnav asked Sep 12, 2018
369 views
What exactly is happening here? I can't figure out the arrows!
0 votes
0 votes
1 answer
3
1 votes
1 votes
1 answer
4