MINOR: threads: mark all_threads_mask as read_mostly
authorWilly Tarreau <w@1wt.eu>
Sat, 10 Apr 2021 15:28:18 +0000 (17:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 10 Apr 2021 17:27:41 +0000 (19:27 +0200)
commit56c3b8b4e8ba49626ce4698acbf7a661eb78aac5
treef1f0417097f82e80b6ceb2a1e265f30123248469
parentff88270ef9babb2fc727c8d91b02b1ee732c539a
MINOR: threads: mark all_threads_mask as read_mostly

This variable almost never changes and is read a lot in time-critical
sections. threads_want_rdv_mask is read very often as well in
thread_harmless_end() and is almost never changed (only when someone
uses thread_isolate()). Let's move both to read_mostly.
src/thread.c