From: Maria Matejka Date: Wed, 9 Mar 2022 08:13:55 +0000 (+0100) Subject: Merge commit '0c59f7ff' into haugesund X-Git-Tag: v2.0.11~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeec9ddbf2a3536417c6dd434da9a7dd2bbdaa42;p=thirdparty%2Fbird.git Merge commit '0c59f7ff' into haugesund --- eeec9ddbf2a3536417c6dd434da9a7dd2bbdaa42 diff --cc lib/mempool.c index 169826d4c,8f300b818..f9a9aacac --- a/lib/mempool.c +++ b/lib/mempool.c @@@ -37,13 -37,12 +37,14 @@@ const int lp_chunk_size = sizeof(struc struct linpool { resource r; byte *ptr, *end; + pool *p; struct lp_chunk *first, *current; /* Normal (reusable) chunks */ struct lp_chunk *first_large; /* Large chunks */ - uint chunk_size, threshold, total, total_large; + uint chunk_size, threshold, total:31, use_pages:1, total_large; }; +_Thread_local linpool *tmp_linpool; + static void lp_free(resource *); static void lp_dump(resource *); static resource *lp_lookup(resource *, unsigned long);