MCQs City stays free thanks to ads. Please turn off your ad blocker for this site so content and features keep working.
Operating System
Virtual Memory Page Replacement Algorithms 2
Q
When using counters to implement LRU, we replace the page with the ____________
AA. Smallest time value
BB. Largest time value
CC. Greatest size
DD. None of the mentioned
Correct Answer:
A. A. Smallest time value
Explanation:
Whenever a reference to a page is made, the contents of the clock register are copied into the time-of-use field in the page-table entry for that page. In this way, we always have the time of the last reference to each page.