commit | 42705d06b71afdd9418675ab895ec1f109d530af | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Feb 23 10:03:11 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Feb 23 17:11:33 2022 +0100 |
tree | 143393d22c08f592d30143323ab5313363d454a7 | |
parent | 96d5bc7379f04aa7652d786bce15f2501d564515 [diff] |
MINOR: pools: get rid of POOL_EXTRA This macro is build-time dependent and is almost unused, yet where it cannot easily be avoided. Now that we store the distinction between pool->size and pool->alloc_sz, we don't need to maintain it and we can instead compute it on the fly when creating a pool. This is what this patch does. The variables are for now pretty static, but this is sufficient to kill the macro and will allow to set them more dynamically.