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, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.