From d80919fa1e8042a070a3f9b2560ff2ecac8a75da Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 12 Jul 2019 03:43:19 -0400 Subject: [PATCH] substantially raise the arbitrary arena limit --- h_malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h_malloc.c b/h_malloc.c index f99695f..69e1e05 100644 --- a/h_malloc.c +++ b/h_malloc.c @@ -60,7 +60,7 @@ static_assert(MREMAP_MOVE_THRESHOLD >= REGION_QUARANTINE_SKIP_THRESHOLD, static const size_t canary_size = SLAB_CANARY ? sizeof(u64) : 0; static_assert(N_ARENA >= 1, "must have at least 1 arena"); -static_assert(N_ARENA <= 4, "currently only support up to 4 arenas (as an initial arbitrary limitation)"); +static_assert(N_ARENA <= 256, "maximum number of arenas is currently 256"); #define CACHELINE_SIZE 64 #if N_ARENA > 1