]> git.kaiwu.me - haproxy.git/commit
MEDIUM: servers: Introduce server_full
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 12 Feb 2026 09:30:53 +0000 (10:30 +0100)
committerOlivier Houchard <cognet@ci0.org>
Mon, 2 Mar 2026 12:46:17 +0000 (13:46 +0100)
commitcd66a94b634532a21d30adab0eae3f657848f85e
treead04e4888a02aef77c8ffa68c86b5639d2a19bdb
parentd6a2d03d396f389fc719feeedaac9a0f8f703718
MEDIUM: servers: Introduce server_full

To detect that a server is full, its served variable is used. That
variable, however, is in a very busy cache line, and it can be costly to
access it. So instead, introduce a new variable, in a different cache
line, server_full, that indicates if the server is full.
include/haproxy/server-t.h
include/haproxy/server.h
include/haproxy/stream.h
src/backend.c
src/cli.c
src/stream.c