Question: Consider a demand - paging system in which a process is allocated three memory frames. When a page fault occurs in the process, let p

Consider a demand-paging system in which a process is allocated three memory frames. When a page fault occurs in the process, let p1, p2 and p3 be the three pages of the process that are resident in memory. Let the timestamps of arrival (i.e., the time at which the page was loaded most recently) for these three pages be a1, a2 and a3 respectively. Let the timestamps of last reference to these pages be \(\mathrm{r}1,\mathrm{r}2\) and r 3 respectively.
Let the Least Recently Used (LRU) page-replacement scheme be employed by the demandpaging system. If p2 is the page that is chosen to be replaced as part of servicing the page fault, determine the relationships among a1, a2, a3, r1, r2 and r3. Based on these relationships, select from the following list the statement that is CERTAIN to be TRUE.
\( r 1\) is earlier than r3
\( r 3\) is earlier than r1
r2 is later than r3
\( r 1\) is later than r2
Consider a demand - paging system in which a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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

Students Have Also Explored These Related Programming Questions!