What happens when a virtual address misses in the TLB but its page is present in main memory?

Correct answer A. The page table is walked to find the entry, which is loaded into the TLB, and the access proceeds

Explanation

A TLB miss only means the translation is not cached. Hardware or the OS walks the page table, finds a valid entry, refills the TLB and retries the access, costing a few memory reads. A page fault occurs only when the page table entry is marked not present, so the page must come from disk. TLB misses are far more common and far cheaper than page faults.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.