Skip to content

Commit 8263b27

Browse files
authored
Merge pull request #373 from ldorau/Add_allocation_class_for_a_critnib_node_of_size_152_bytes
Add allocation class for a critnib node of size 152 bytes
2 parents bcf8763 + 25c57db commit 8263b27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/base_alloc/base_alloc_global.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ static UTIL_ONCE_FLAG ba_is_initialized = UTIL_ONCE_FLAG_INIT;
2626

2727
// allocation classes need to be consecutive powers of 2
2828
#define ALLOCATION_CLASSES \
29-
{ 16, 32, 64, 128 }
30-
#define NUM_ALLOCATION_CLASSES 4
29+
{ 16, 32, 64, 128, 256 }
30+
#define NUM_ALLOCATION_CLASSES 5
3131

3232
struct base_alloc_t {
3333
size_t ac_sizes[NUM_ALLOCATION_CLASSES];

0 commit comments

Comments
 (0)