]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: kqueue: move kqueue_fd to read_mostly
authorWilly Tarreau <w@1wt.eu>
Sat, 10 Apr 2021 15:09:53 +0000 (17:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 10 Apr 2021 17:27:41 +0000 (19:27 +0200)
commit8209c9aa18845e7e2f8aadeff281496d09f9ff36
tree7620592ae8e61e1938b29fc163e9e859112c9e56
parent26d212c7442e93ca58f3fa75eab16141970a0729
MINOR: kqueue: move kqueue_fd to read_mostly

This one only contains the list of per-thread kqueue FDs, and is used
a lot during updates. Let's mark it read_mostly to avoid false sharing
of FDs placed at the extremities.
src/ev_kqueue.c