summaryrefslogtreecommitdiff
path: root/src/common/mempool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/mempool.h')
-rw-r--r--src/common/mempool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/mempool.h b/src/common/mempool.h
index 1f9e2f5534..09174b2a55 100644
--- a/src/common/mempool.h
+++ b/src/common/mempool.h
@@ -38,6 +38,9 @@ struct mp_pool_t {
struct mp_chunk_t *full_chunks;
/** Length of <b>empty_chunks</b>. */
int n_empty_chunks;
+ /** Lowest value of <b>empty_chunks</b> since last call to
+ * mp_pool_clean(-1). */
+ int min_empty_chunks;
/** Size of each chunk (in items). */
int new_chunk_capacity;
/** Size to allocate for each item, including overhead and alignment