projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3456f
)
smalloc: default to 128 pools instead of 4
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 31 Jul 2008 17:50:54 +0000
(19:50 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 31 Jul 2008 17:50:54 +0000
(19:50 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
smalloc.c
patch
|
blob
|
blame
|
history
diff --git
a/smalloc.c
b/smalloc.c
index 0a86c43b0f17d58a5aa69587f92eff1d4f39c279..1c975df47ae3f6a6fcf6088ed1bc25e679e9eb2b 100644
(file)
--- 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