]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: opentracing: use pool_alloc(), not pool_alloc_dirty()
authorWilly Tarreau <w@1wt.eu>
Mon, 22 Mar 2021 14:10:51 +0000 (15:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 22 Mar 2021 14:35:53 +0000 (15:35 +0100)
commitb7bf53e15004204e456fa552ebd82ba4245a01ff
tree36a75e5f47eb7fe68a1fc373a0c6dc13fe3e15b7
parentb454e908e5ae5bfb86a4dcdc50909374cb5820c9
MINOR: opentracing: use pool_alloc(), not pool_alloc_dirty()

pool_alloc_dirty() is the version below pool_alloc() that never performs
the memory poisonning. It should only be called directly for very large
unstructured areas for which enabling memory poisonning would not bring
anything but could significantly hurt performance (e.g. buffers). Using
this function here will not provide any benefit and will hurt the ability
to debug.

It would be desirable to backport this, although it does not cause any
user-visible bug, it just complicates debugging.
contrib/opentracing/src/pool.c