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 <jens.axboe@oracle.com>
diff --git a/smalloc.c b/smalloc.c
index b7502dc..fd0e9bd 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