Cache Data Structures

The cache manager uses the following data structures to keep track of cached files:

  • Each 256-KB slot in the system cache is described by a VACB.

  • Each separately opened cached file has a private cache map, which contains information used to control read-ahead (discussed later in the chapter).

  • Each cached file has a single shared cache map structure, which points to slots in the system cache that contain mapped views of the file.

These structures and their relationships are described in the next sections.

Systemwide Cache Data Structures

As previously described, the cache manager keeps track of the state of the views in the system cache by using an array of data structures called virtual address control block (VACB) arrays that are ...

Get Windows® Internals, Sixth Edition, Part 2 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.