CS FundamentalsModerateGATE CS

On a context switch, why can a TLB WITHOUT address-space identifiers (ASIDs) not simply keep its entries?

  1. A. Entries from the old process would translate the new process's virtual pages to the wrong frames, so the TLB must be flushed
  2. B. The TLB is too small to keep entries
  3. C. TLB entries contain register values
  4. D. Flushing is needed only on page faults

Correct answer: A. Entries from the old process would translate the new process's virtual pages to the wrong frames, so the TLB must be flushed

Virtual page numbers are per-process. Without an ASID tag the hardware cannot tell whose mapping an entry is, so stale entries would be wrong; tagging avoids the flush.

More Operating Systems questions

Exams that ask this topic