urcs-sync / ralloc

Recoverable lock-free allocator based on LRMalloc
MIT License
45 stars 9 forks source link

Allocation Minimum #5

Closed ChrisKjellqvist closed 5 years ago

ChrisKjellqvist commented 5 years ago
const uint64_t MIN_SB_REGION_SIZE = 1*1024*1024*1024ULL; // min sb region size
const int64_t MAX_SB_REGION_SIZE = SBSIZE*MAX_SB_AMOUNT; // max possible sb region. size to call RP_init. Currently it's 1TB which must be sufficient

Any reason I have to allocate more than 1GB?