summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-04-05 22:06:02 +0200
committerMartin Mares <mj@ucw.cz>1999-04-05 22:06:02 +0200
commitd4ff748224fc18e460e74ab14d70d01fd50e4b92 (patch)
tree3d735ebaea8e4b8adb7cbc59c7c8c5ccd743de44
parentc10421d3d4b5f23dc953c887332bdb6e80ae0540 (diff)
downloadbird-d4ff748224fc18e460e74ab14d70d01fd50e4b92.tar
bird-d4ff748224fc18e460e74ab14d70d01fd50e4b92.zip
Use a more reasonable pool chunk size: 4080 bytes seem to be a good
approximation of a integral fraction of page size even if both malloc overhead and chunk header space is counted.
-rw-r--r--conf/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/conf.c b/conf/conf.c
index 332caec..61fe9f8 100644
--- a/conf/conf.c
+++ b/conf/conf.c
@@ -25,7 +25,7 @@ struct config *
config_alloc(byte *name)
{
pool *p = rp_new(&root_pool, "Config");
- linpool *l = lp_new(p, 1024);
+ linpool *l = lp_new(p, 4080);
struct config *c = lp_allocz(l, sizeof(struct config));
c->pool = p;