[Operating system] Page replacement algorithm (cache algorithm)

1. The
core principle of FIFO (first in first out) is: if a piece of data enters the buffer first, it should be eliminated at the earliest.
2. The
core idea of LRU (Last Unused Recently) is "The data has been accessed recently, then the probability of being accessed in the future will be higher, and vice versa."

Guess you like

Origin blog.csdn.net/qq_43729554/article/details/106455365