commit | 397e5111b5efd49f61f73c1bad0375c7885a6128 | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Sat Oct 16 16:10:40 2010 -0700 |
committer | Jason Evans <jasone@canonware.com> | Sat Oct 16 16:19:10 2010 -0700 |
tree | 173e712b4c407bb5a87ea7c08c34789c4214762c | |
parent | 004ed142a66529ecf4a55e8f4fa42ff2e535f586 [diff] |
Preserve CHUNK_MAP_UNZEROED for small runs. Preserve CHUNK_MAP_UNZEROED when allocating small runs, because it is possible that untouched pages will be returned to the tree of clean runs, where the CHUNK_MAP_UNZEROED flag matters. Prior to the conversion from CHUNK_MAP_ZEROED, this was already a bug, but in the worst case extra zeroing occurred. After the conversion, this bug made it possible to incorrectly treat pages as pre-zeroed.