Advanced
Operating Systems
Q81 / 100
What is the difference between hardware and software TLB management?
Correct! Well done.
Incorrect.
The correct answer is B) Hardware-managed TLBs: MMU handles misses automatically using hardware page walks; software-managed TLBs: OS handles TLB misses via exception handlers (MIPS, SPARC)
B
Correct Answer
Hardware-managed TLBs: MMU handles misses automatically using hardware page walks; software-managed TLBs: OS handles TLB misses via exception handlers (MIPS, SPARC)
Explanation
x86 uses hardware page walks (CR3 → page tables → TLB fill). MIPS uses software-managed TLBs (TLB miss → exception → OS fills TLB). Software TLBs are flexible; hardware are faster.
Progress
81/100