commit | 5e012980ff5f8396a3e3ebc432e1dd32cebedaa1 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Fri Jul 31 11:23:19 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Jul 31 11:23:19 2009 +0200 |
tree | c0c887159f1f34736ab7b2a0dd81a0e95df4fb7d | |
parent | c5d3d7901f7b8225d31486894ff7778b0ac3d582 [diff] [blame] |
smalloc: enlarge pool size Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/smalloc.c b/smalloc.c index ac5754d..3dd1b49 100644 --- a/smalloc.c +++ b/smalloc.c
@@ -20,7 +20,7 @@ #define SMALLOC_BPI (sizeof(unsigned int) * 8) #define SMALLOC_BPL (SMALLOC_BPB * SMALLOC_BPI) -#define INITIAL_SIZE 1024*1024 /* new pool size */ +#define INITIAL_SIZE 8192*1024 /* new pool size */ #define MAX_POOLS 128 /* maximum number of pools to setup */ #define SMALLOC_PRE_RED 0xdeadbeefU