Explain Page Replacement Algorithm

Q1. What is Page Replacement Algorithm?

Ans. Page replacement takes the following approach, if no frame is free we find out one that is not currently being used and free it, we can free a frame by writing its content to swap space and changing the page table to indicate that the page number is no longer in memory. We can now use the free frame to hold the page for which the process faulted. We modify the page fault service routine to include page replacement.

Leave a Reply

Your email address will not be published. Required fields are marked *

49 Views
%d bloggers like this: