GATE / CS ARCHIVE

GATE CSE 1997 / QUESTION 3.10

Purpose of the dirty bit

Operating Systems · Virtual Memory & Paging · Full GATE CSE 1997 paper

GATE 1997, Q3.10 1 mark · MCQ
Report issue

Virtual Memory & Paging

Question 3.10, GATE 1997: Does a page dirty bit avoid unnecessary disk writes, record LRU order, enforce read-only access, or none?
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

A dirty bit records whether a page has been modified since its backing-store copy was synchronized. On eviction, a clean page can be discarded because an up-to-date copy already exists; a dirty page normally needs writeback. This avoids unnecessary writes for unchanged pages, A. Recent use is tracked by reference/access information or timestamps, while write protection uses permission bits. Those functions should not be confused with modification status.

Original paper, page 3