]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: queues: use __ha_cpu_relax() on failed CAS.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 28 Jan 2025 15:18:40 +0000 (16:18 +0100)
committerOlivier Houchard <cognet@ci0.org>
Tue, 28 Jan 2025 15:00:19 +0000 (16:00 +0100)
commitb74ec1efc2be192e176c2aff458028f391652d95
tree484fc7c4f4409a24be8bd5c0aa1a22e491e6c7b9
parentf17b0a994bc6fb9a68b0bcb03ab3eb1c0fd35d5a
MINOR: queues: use __ha_cpu_relax() on failed CAS.

Make sure we call __ha_cpu_relax() if we fail a CAS, to help with
contention.
src/queue.c