]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pools: replace DEBUG_MEMORY_POOLS with runtime POOL_DBG_TAG
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Feb 2022 09:20:37 +0000 (10:20 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Feb 2022 16:11:33 +0000 (17:11 +0100)
commit13d7775b068241d4d2aa79ac8c987894fada05e9
tree091896ebc68985e4ffe7f00c90d5468eac53a601
parent0271822f17c05f1cec833b2ec325647725426ff3
MINOR: pools: replace DEBUG_MEMORY_POOLS with runtime POOL_DBG_TAG

This option used to allow to store a marker at the end of the area, which
was used as a canary and detection against wrong freeing while the object
is used, and as a pointer to the last pool_free() caller when back in cache.
Now that we can compute the offsets at runtime, let's check it at run time
and continue the code simplification.
include/haproxy/pool-t.h
include/haproxy/pool.h
src/pool.c