Content deleted Content added
→Aging: Make the python code easier to understand |
No edit summary Tags: Reverted possible vandalism |
||
Line 5:
In a [[computer]] [[operating system]] that uses [[memory paging|paging]] for [[virtual memory]] [[memory management|management]], '''page replacement algorithms''' decide which memory pages to page out, sometimes called swap out, or write to disk, when a [[page (computer memory)|page]] of memory needs to be allocated. [[Paging|Page replacement]] happens when a requested page is not in memory ([[page fault]]) and a free page cannot be used to satisfy the allocation, either because there are none, or because the number of free pages is lower than some threshold.
When the
The page replacing problem is a typical [[online problem]] from the competitive analysis perspective in the sense that the optimal deterministic algorithm is known.
|