mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-27 07:02:11 +00:00
c038ca8e8c
Tests on various systems show that x86 prefers not to wait at all inside read loops while aarch64 prefers to wait a little bit. Instead of having to stuff ifdefs around __ha_cpu_relax() inside plenty of such loops waiting for a condition to appear, better implement a new variant that we call __ha_cpu_relax_for_read() which honors each architecture's preferences and is the same as __ha_cpu_relax() for other ones. |
||
---|---|---|
.. | ||
haproxy | ||
import | ||
make |