From 85f467031d14d98940f56941016faa481a628c0f Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 26 Mar 2008 10:05:43 +0100 Subject: [PATCH] smalloc: increase initial pool size from 64k to 1m We allocate randommaps from that pool as well and they can grow quite large. Signed-off-by: Jens Axboe --- smalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smalloc.c b/smalloc.c index b7502dc9..fd0e9bd0 100644 --- a/smalloc.c +++ b/smalloc.c @@ -16,7 +16,7 @@ #undef ENABLE_RESIZE /* define to enable pool resizing */ #define MP_SAFE /* define to made allocator thread safe */ -#define INITIAL_SIZE 65536 /* new pool size */ +#define INITIAL_SIZE 1048576 /* new pool size */ #define MAX_POOLS 32 /* maximum number of pools to setup */ #ifdef ENABLE_RESIZE -- 2.25.1