Post · 1 min read· p. 1548

MI_PARTITION_COMMIT

The MI_PARTITION_COMMIT structure (formally _MI_PARTITION_COMMIT) is here thought to exist only as a subdivision of the MI_PARTITION, specifically as the latter’s Commit member.

Variability

Though the MI_PARTITION_COMMIT structure is an implementation detail and can be expected to change between builds, it has not changed nearly as much as might be thought from taking its changes of size as a rough measure:

VersionSize (x86)Size (x64)
10.00x200x38
1511 to 19030x800x80
20040x240x40

What’s hidden here is that the only change thus far to the structure is for one new member. It was cache-aligned when added for Version 1511 and then a slight redefinition (removal of volatile) for Version 2004 removed the cache-alignment.

Layout

The sizes in the preceding table and the offsets, names and types in the next are from type information in public symbol files for the kernel.

Offset (x86)Offset (x64)DefinitionVersions
0x000x00ULONG_PTR PeakCommitment;10.0 and higher
0x040x08ULONG_PTR TotalCommitLimitMaximum;10.0 and higher
0x080x10LONG volatile Popups [2];10.0 and higher
0x100x18ULONG_PTR LowCommitThreshold;10.0 and higher
0x140x20ULONG_PTR HighCommitThreshold;10.0 and higher
0x180x28KSPIN_LOCK EventLock;10.0 and higher
0x1C0x30ULONG_PTR SystemCommitReserve;10.0 and higher
0x40 (1511 to 1903); 0x200x40 (1511 to 1903); 0x38ULONG_PTR volatile OverCommit;1511 to 1903
ULONG_PTR OverCommit;2004 and higher