]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: task: align the rq and wq locks
authorWilly Tarreau <w@1wt.eu>
Sun, 26 Nov 2017 09:19:16 +0000 (10:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 26 Nov 2017 10:10:51 +0000 (11:10 +0100)
commita24d1d0be40bdee6b1fc105080747e184b42b81f
treecf20008e79e0634b53ebcdd0e1aa8985b23ce85c
parent6d1222ce7392423c54be21d2c7ebf4adc87a6a5d
MINOR: task: align the rq and wq locks

We really don't want them to share the same cache line as they are
expected to be used in parallel. Adding a 64-byte alignment here shows
a performance increase of about 4.5% on task-intensive workloads with
2 to 4 threads.
src/task.c