summaryrefslogtreecommitdiff
path: root/lib/resource.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-09 09:13:55 +0100
committerMaria Matejka <mq@ucw.cz>2022-03-09 09:13:55 +0100
commiteeec9ddbf2a3536417c6dd434da9a7dd2bbdaa42 (patch)
tree9dd18398952d50963d0e18395a7f84357ab1b936 /lib/resource.h
parentc78247f9b97802d6fe76d9b7cddf2c1940134d33 (diff)
parent0c59f7ff0112abd1261afb8f21b7c00fc5e37885 (diff)
Merge commit '0c59f7ff' into haugesund
Diffstat (limited to 'lib/resource.h')
-rw-r--r--lib/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/resource.h b/lib/resource.h
index 992fa5b2..313b01dc 100644
--- a/lib/resource.h
+++ b/lib/resource.h
@@ -91,7 +91,7 @@ extern _Thread_local linpool *tmp_linpool; /* Temporary linpool autoflushed regu
extern const int lp_chunk_size;
#define LP_GAS 1024
#define LP_GOOD_SIZE(x) (((x + LP_GAS - 1) & (~(LP_GAS - 1))) - lp_chunk_size)
-#define lp_new_default(p) lp_new(p, LP_GOOD_SIZE(LP_GAS*4))
+#define lp_new_default(p) lp_new(p, 0)
/* Slabs */