]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pools: use EBO to wait for unlock during pool_flush()
authorWilly Tarreau <w@1wt.eu>
Thu, 17 Aug 2023 07:04:35 +0000 (09:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Aug 2023 07:09:20 +0000 (09:09 +0200)
commit544c2f2d9e3b74336fd81189165eeb1667dfe078
tree8f06786da4382e6d383baaef0b87ae0207e2e94c
parent78fa54863dcd6c2f26e467c4cd9dfcc96c0b5f7d
MINOR: pools: use EBO to wait for unlock during pool_flush()

pool_flush() could become a source of contention on the pool's free list
if there are many competing thread using that pool. Let's make sure we
use EBO and not just a simple CPU relaxation there, to avoid disturbing
them.
src/pool.c