2,444 views
0 votes
0 votes
Assume that a program has just referenced an address in virtual memory. Describe a scenario in which each of the following can occur. (If no such scenario can occur, explain why.)

• $TLB$ miss with no page fault
• $TLB$ miss and page fault
• $TLB$ hit and no page fault
• $TLB$ hit and page fault

1 Answer

0 votes
0 votes
• TLB miss with no page fault.Possible. Page has been brought into memory,

but has been removed from the TLB.

• TLB miss and page fault.Possible. Page fault has occurred

• TLB hit and no page fault.Possible. Page is in memory and in the TLB. Most

likely a recent reference

• TLB hit and page fault .Not possible. The TLB is a cache of the page

table. If an entry is not in the page table, it will not be in the TLB.

Related questions

0 votes
0 votes
0 answers
3
0 votes
0 votes
0 answers
4