{"id":6340,"date":"2025-10-16T11:28:47","date_gmt":"2025-10-16T05:58:47","guid":{"rendered":"https:\/\/study.madeeasy.in\/?p=6340"},"modified":"2025-11-13T12:05:59","modified_gmt":"2025-11-13T06:35:59","slug":"page-replacement-in-operating-systems-explained","status":"publish","type":"post","link":"https:\/\/www.madeeasy.in\/study\/cs-it\/page-replacement-in-operating-systems-explained","title":{"rendered":"Page Replacement in Operating Systems Explained"},"content":{"rendered":"<p>When there is a page fault, the referenced page must be loaded. If there is no available frame in memory one page is selected for replacement.<\/p>\n<p><strong> Steps to be followed to replace a page:<\/strong><\/p>\n<ul>\n<li>Find a free frame: If there is a free frame, use it.<\/li>\n<li>If there is no free frame, use page replacement algorithm to select a victim frame.<\/li>\n<li>Swap out (write) the victim page to the disk and update the page table and frame tables accordingly.<\/li>\n<li>Swap in (read) the desired page into the memory where free frame is available and change the page and frame tables accordingly.<\/li>\n<li>Restart the user process.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>When there is a page fault, the referenced page must be loaded. If there is no available frame in memory<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,94],"tags":[1874,96,1873,1872],"class_list":["post-6340","post","type-post","status-publish","format-standard","hentry","category-cs-it","category-operating-system","tag-memory-management","tag-operating-system","tag-page-fault-handling","tag-page-replacement"],"_links":{"self":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts\/6340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/comments?post=6340"}],"version-history":[{"count":0,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts\/6340\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/media?parent=6340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/categories?post=6340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/tags?post=6340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}