From d4b8fee1c4fe910efd0ccf7e897ce88b5178ac79 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 10 Apr 2019 16:54:11 -0400 Subject: [PATCH] allow using the largest slab allocation size --- h_malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/h_malloc.c b/h_malloc.c index 6a93fe0..0f887d8 100644 --- a/h_malloc.c +++ b/h_malloc.c @@ -102,8 +102,8 @@ static const size_t min_align = 16; static const size_t max_slab_size_class = 16384; #define MAX_SLAB_SIZE_CLASS_SHIFT 14 #else -static const size_t max_slab_size_class = 65536; -#define MAX_SLAB_SIZE_CLASS_SHIFT 16 +static const size_t max_slab_size_class = 131072; +#define MAX_SLAB_SIZE_CLASS_SHIFT 17 #endif static const u32 size_classes[] = {