Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
One possible fix to Buddy MIN == MAX case
This is one possible way to fix the 0-length arrays discussed (and made into assertion failures) in the previous commit. This works because the Buddy's `MIN_SIZE_BITS` is instantiated at `MIN_CHUNK_BITS`, and so the change here then ensures that its `MAX_SIZE_BITS` is strictly greater than `MIN_CHUNK_BITS`. A different, and possibly better, solution would be to drop the LargeBuddyRange from CentralMetaRange when `max_page_chunk_size_bits` is computed to be equal to `MIN_CHUNK_BITS`.
- Loading branch information