commit | 7fa092b727f45b2cb0975c36e9c1c61732f47db7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jan 24 15:44:26 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jan 24 16:40:48 2022 +0100 |
tree | 97714f892215b4edf33ca1c1fe6d50f85daa56f1 | |
parent | d392973dccbbf2647927d996da9251bb09a34363 [diff] |
MINOR: pools: prepare POOL_EXTRA to be split into multiple extra fields Here the idea is to calculate the POOL_EXTRA size that is appended at the end of a pool object based on the sum of enabled optional fields so that we can more easily compute offsets and sizes depending on build options. For this, POOL_EXTRA is replaced with POOL_EXTRA_MARK which itself is set either to sizeof(void*) or zero depending on whether we enable marking the origin pool or not upon allocation.