Question: Suppose that the WSClock page replacement algorithm uses a of two ticks, and the system state is the following: where the three flag bits

Suppose that the WSClock page replacement algorithm uses a Ï„ of two ticks, and the system state is the following:
Suppose that the WSClock page replacement algorithm uses a Ï„

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.)

Page Time stamp VR M 0 1 0 0 6 9 9 7 4

Step by Step Solution

3.41 Rating (167 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Consider a For every R bit that is set set the timestamp value to 10 and clear a... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

761-C-S-D-B-O-S (350).docx

120 KBs Word File

Students Have Also Explored These Related Operating System Questions!