câu 33
Link will be apear in 30 seconds.
Well done! you have successfully gained access to Decrypted Link.
Question:
Suppose that the WSClock page replacement algorithm uses a τ of two ticks, and the system state is the following:
Page | Time stamp | V | R | m |
0 | 6 | 1 | 0 | 1 |
1 | 9 | 1 | 1 | 0 |
2 | 9 | 1 | 1 | 1 |
3 | 7 | 1 | 0 | 0 |
4 | 4 | 0 | 0 | 0 |
where the three flag bits V, R, and M stand for Valid, Referenced, and Modified, respectively. (a) If a clock interrupt occurs at tick 10, show the contents of the new table entries. Explain. (You can omit entries that are unchanged.) (b) Suppose that instead of a clock interrupt, a page fault occurs at tick 10 due to a read request to page 4. Show the contents of the new table entries. Explain. (You can omit entries that are unchanged.)
Answer:
