Homework7_9.13 Version 0 |
|
👤 Author: by wlm00008 2016-12-28 10:15:13 |
Question: How dose second chance page-replacement algorithm work?
solution:
The basic algorithm of second-chance replacement is a FIFO replacement algorithm. When a
page has been selected, however, we inspect its reference bit. If the value is 0, we proceed to
replace this page; but if the reference bit is set to 1, we give the page a second chance and
move on to select the next FIFO page. When a page gets a second chance, its reference bit is