From: Martin Mares Date: Mon, 5 Apr 1999 20:06:02 +0000 (+0000) Subject: Use a more reasonable pool chunk size: 4080 bytes seem to be a good X-Git-Tag: v1.2.0~1626 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=d4ff748224fc18e460e74ab14d70d01fd50e4b92;p=thirdparty%2Fbird.git 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. --- diff --git a/conf/conf.c b/conf/conf.c index 332caec7a..61fe9f884 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;