From 6885768609eafda8648bf50b05115d784cb04fb9 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 31 Jul 2008 19:50:54 +0200 Subject: [PATCH] smalloc: default to 128 pools instead of 4 Signed-off-by: Jens Axboe --- smalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smalloc.c b/smalloc.c index 0a86c43b..1c975df4 100644 --- a/smalloc.c +++ b/smalloc.c @@ -22,7 +22,7 @@ #define SMALLOC_BPL (SMALLOC_BPB * SMALLOC_BPI) #define INITIAL_SIZE 1024*1024 /* new pool size */ -#define MAX_POOLS 4 /* maximum number of pools to setup */ +#define MAX_POOLS 128 /* maximum number of pools to setup */ #define SMALLOC_PRE_RED 0xdeadbeefU #define SMALLOC_POST_RED 0x5aa55aa5U -- 2.25.1