commit | d392973dccbbf2647927d996da9251bb09a34363 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jan 24 16:09:29 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jan 24 16:40:48 2022 +0100 |
tree | 6f7792f0194fdd0f0b43f7b30d70996bdee85dab | |
parent | 15c322c41362b3221c19202556b077d87ebd5080 [diff] |
MINOR: pools: partially uninline pool_alloc() The pool_alloc() function was already a wrapper to __pool_alloc() which was also inlined but took a set of flags. This latter was uninlined and moved to pool.c, and pool_alloc()/pool_zalloc() turned to macros so that they can more easily evolve to support debugging options. The number of call places made this code grow over time and doing only this change saved ~1% of the whole executable's size.