]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: pools/buffers: make sure to always reserve the required buffers
authorWilly Tarreau <w@1wt.eu>
Thu, 15 Apr 2021 17:24:12 +0000 (19:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Apr 2021 13:24:33 +0000 (15:24 +0200)
commita5b229d01db53001fc13986ac193379f34eebc72
tree390869aa6bb88926195cbfd0215203d97b252105
parent932dd19cc3dd959b1937e90651a0fb3d7b46aa7c
BUG/MINOR: pools/buffers: make sure to always reserve the required buffers

Since recent commit ae07592 ("MEDIUM: pools: add CONFIG_HAP_NO_GLOBAL_POOLS
and CONFIG_HAP_GLOBAL_POOLS") the pre-allocation of all desired reserved
buffers was not done anymore on systems not using the shared cache. This
basically has no practical impact since these ones will quickly be refilled
by all the ones used at run time, but it may confuse someone checking if
they're allocated in "show pools".

That's only 2.4-dev, no backport is needed.
src/dynbuf.c