Page replacement algorithm: Difference between revisions

Content deleted Content added
Yes
Tags: Reverted Visual edit Mobile edit Mobile web edit
m Reverted 1 edit by 2409:4054:2292:620:3CDF:F208:7EC1:7806 (talk) to last revision by The Night Watch
Line 2:
{{about|algorithms specific to paging|an outline of general cache algorithms (e.g. processor, disk, database, web)|Cache algorithms}}
{{Use dmy dates|date=February 2021}}
 
 
Asif choudhary
 
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.