]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pools: permit to optionally specify extra size and alignment
authorWilly Tarreau <w@1wt.eu>
Mon, 11 Aug 2025 13:51:32 +0000 (15:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 11 Aug 2025 17:55:30 +0000 (19:55 +0200)
commite21bb531cad9e00dcabc325193a35040b27eaa7e
treec65d58eb15bd8b1622c4d27ba30cfe48d0be7460
parentd240f387ca16177f12d5a02ba102740e45c1a18a
MINOR: pools: permit to optionally specify extra size and alignment

The common macros REGISTER_TYPED_POOL(), DECLARE_TYPED_POOL() and
DECLARE_STATIC_TYPED_POOL() will now take two optional arguments,
one being the extra size to be added to the structure, and a second
one being the desired alignment to enforce. This will permit to
specify alignments larger than the default ones promised to the
compiler.
include/haproxy/pool.h