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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s