Computer PPSC
LRU page-replacement algorithm associates with each page the
Explanation
The Least Recently Used algorithm keeps track of when every page in memory was last referenced. When a replacement is needed, it evicts the page with the oldest "last used" time, on the assumption that a page unused for a long time will stay unused. Note that "the time it was brought into memory" describes FIFO, not LRU.
Related facts:
LRU can be implemented with counters or a stack of page numbers.
LRU approximates the optimal algorithm and does not suffer from Belady's anomaly.
Exact LRU has high implementation overhead, so systems often use approximations such as the clock algorithm.
Exam tip: Do not confuse LRU with FIFO: FIFO uses load time, LRU uses last-use time. This is a commonly tested basic fact.