commit | 148160b027eb91461761e4970a879c5ae15a4a59 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jan 02 14:35:57 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jan 02 19:35:26 2022 +0100 |
tree | 891b145eccf369a4078a3c51ddb9d5c831e0ba23 | |
parent | 361e31e3fecb41443425d4f2e6ed00ccf50a3d18 [diff] |
MINOR: pools: prepare pool_item to support chained clusters In order to support batched allocations and releases, we'll need to prepare chains of items linked together and that can be atomically attached and detached at once. For this we implement a "down" pointer in each pool_item that points to the other items belonging to the same group. For now it's always NULL though freeing functions already check them when trying to release everything.