From d4ff748224fc18e460e74ab14d70d01fd50e4b92 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 5 Apr 1999 20:06:02 +0000 Subject: 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. --- conf/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf/conf.c') 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; -- cgit v1.2.3