Fix a bug where allocator was unable to allocate up to last (n%64) blocks, add tests for it
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
// Hierarchical bitmap allocator
|
||||
class allocator
|
||||
{
|
||||
uint64_t total;
|
||||
uint64_t size;
|
||||
uint64_t free;
|
||||
uint64_t last_one_mask;
|
||||
|
||||
Reference in New Issue
Block a user