]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pools: add a new debugging flag POOL_DBG_COLD_FIRST
authorWilly Tarreau <w@1wt.eu>
Mon, 21 Feb 2022 17:30:25 +0000 (18:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Feb 2022 16:11:33 +0000 (17:11 +0100)
commitd3470e1ce8c31e7c20ac5d2b6e93dc777c3842c6
tree06ecdbb7ab3b08fec7b0ca71ae25601a1d6c9100
parentfd8b737e2c29a886366808258234887fd10e50a5
MINOR: pools: add a new debugging flag POOL_DBG_COLD_FIRST

When enabling pools integrity checks, we usually prefer to allocate cold
objects first in order to maximize the time the objects spend in the
cache. In order to make this configurable at runtime, let's introduce
a new debugging flag to control this allocation order. It is currently
preset by the DEBUG_POOL_INTEGRITY build-time setting.
include/haproxy/pool-t.h
include/haproxy/pool.h
src/pool.c