CS FundamentalsHardGATE CS

Which statement about the unified buffer cache (page cache shared by mmap and read/write) is correct?

  1. A. It forces every read() to go to disk
  2. B. It avoids double caching and keeps mmap and read() views of a file consistent
  3. C. It prevents mmap from working on files
  4. D. It stores only metadata

Correct answer: B. It avoids double caching and keeps mmap and read() views of a file consistent

Older systems kept file data both in a buffer cache (for read/write) and in VM pages (for mmap), wasting memory and risking inconsistency; a unified cache uses one copy.

More Operating Systems questions

Exams that ask this topic