]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: fd cache: And the thread_mask with all_threads_mask.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 17 Aug 2018 11:37:59 +0000 (13:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 Aug 2018 12:50:47 +0000 (14:50 +0200)
commit6aab7378354ad704fed1e14fff256e2d74f60090
tree7ad49b9ebd6ec6ad032d72050506aa022568392c
parent19bdf2428d171bc126d3571a2c69382654c7e384
MINOR: fd cache: And the thread_mask with all_threads_mask.

When we choose to insert a fd in either the global or the local fd update list,
and the thread_mask against all_threads_mask before checking if it's tid_bit,
that way, if we run with nbthreads==1, we will always use the local list,
which is cheaper than the global one.
include/proto/fd.h