-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
3
WT-8340 resized atomic_flags field to uint16_t but left it at an unaligned (byte) offset. This in addition with retaining unused results in unnecessary padding that pushes the modify field beyond the 64 byte (cache friendly) boundary documented in the code.
/* 36 | 1 */ uint8_t type; /* XXX 1-byte hole */ /* 38 | 2 */ uint16_t flags_atomic; /* 40 | 1 */ uint8_t unused; /* XXX 7-byte hole */ /* 48 | 8 */ size_t memory_footprint; /* 56 | 8 */ const WT_PAGE_HEADER *dsk; /* 64 | 8 */ WT_PAGE_MODIFY *modify;