mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-22 04:10:48 +00:00
8e079cdd44
The thread flags were once believed to be local to the thread, but as it stands, even the STUCK flag is shared since it's looked at by the watchdog. As such we'll need to use atomic ops to manipulate them, and likely to move them into the shared area. This patch only moves the flag into the shared area so that we can later decide whether it's best to leave them there or to move them back to the local area. Interestingly, some tests have shown a 3% better performance on dequeuing with this, while they're not used by other threads yet, so there are definitely alignment effects that might change over time. |
||
---|---|---|
.. | ||
haproxy | ||
import |