What happens on a TLB miss?

Enhance your understanding with the System Software, Architecture, Memory and Storage Test. Study with flashcards and multiple choice questions. Each question offers hints and detailed explanations. Prepare effectively for your exam!

Multiple Choice

What happens on a TLB miss?

Explanation:
When a memory access cannot be translated using the TLB, the system must fetch the missing virtual-to-physical translation from the page tables. This triggers a page-table walk, typically performed by the OS (and sometimes aided by hardware), to locate the page table entry in memory, verify permissions, and then load that translation into the TLB. With the new translation cached, the original memory access is retried using the obtained physical address. If the page isn’t present in memory, a page fault occurs and the OS handles bringing it in. This sequence avoids stalling on a missing translation, instead reusing the faster, cached translation once it’s loaded.

When a memory access cannot be translated using the TLB, the system must fetch the missing virtual-to-physical translation from the page tables. This triggers a page-table walk, typically performed by the OS (and sometimes aided by hardware), to locate the page table entry in memory, verify permissions, and then load that translation into the TLB. With the new translation cached, the original memory access is retried using the obtained physical address. If the page isn’t present in memory, a page fault occurs and the OS handles bringing it in. This sequence avoids stalling on a missing translation, instead reusing the faster, cached translation once it’s loaded.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy