CS FundamentalsModerateGATE CS

Which statement about the dirty (modified) bit in a page-table entry is correct?

  1. A. It is set whenever the page is read
  2. B. If a victim page's dirty bit is clear, it need not be written back, so the page fault costs one transfer instead of two
  3. C. It tells the OS which pages are in the TLB
  4. D. It is needed only for read-only pages

Correct answer: B. If a victim page's dirty bit is clear, it need not be written back, so the page fault costs one transfer instead of two

Hardware sets the dirty bit on a write. A clean victim already matches its copy on disk, so it can simply be overwritten, halving the I/O for that fault.

More Operating Systems questions

Exams that ask this topic